llvm-6502/lib
Chris Lattner 0b18e59336 Fix codegen to compute the size of an allocation by multiplying the
size by the array amount as an i32 value instead of promoting from
i32 to i64 then doing the multiply.  Not doing this broke wrap-around
assumptions that the optimizers (validly) made.  The ultimate real
fix for this is to introduce i64 version of alloca and remove mallocinst.

This fixes PR3829


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67093 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-17 19:36:00 +00:00
..
Analysis Revert r66920. It was causing failures in the self-hosting buildbot (in release 2009-03-13 21:15:59 +00:00
Archive Add the private linkage. 2009-01-15 20:18:42 +00:00
AsmParser It makes no sense to have a ODR version of common 2009-03-11 20:14:15 +00:00
Bitcode Revert r66920. It was causing failures in the self-hosting buildbot (in release 2009-03-13 21:15:59 +00:00
CodeGen Fix codegen to compute the size of an allocation by multiplying the 2009-03-17 19:36:00 +00:00
CompilerDriver Reorganize llvmc code. 2009-03-02 09:01:14 +00:00
Debugger Oops...I committed too much. 2009-03-13 04:39:26 +00:00
ExecutionEngine Fix some significant problems with constant pools that resulted in unnecessary paddings between constant pool entries, larger than necessary alignments (e.g. 8 byte alignment for .literal4 sections), and potentially other issues. 2009-03-13 07:51:59 +00:00
Linker Apply ODR linkage changes accidentally dropped during 2009-03-08 13:35:23 +00:00
Support raw_ostream: Put all exceptional conditions in raw_ostream::write 2009-03-17 01:36:56 +00:00
System add some explicit llvm:: qualifiers to the unix side, fix problems on the windows side. 2009-03-08 19:13:45 +00:00
Target CellSPU: 2009-03-17 16:45:16 +00:00
Transforms Remove a condition which is always true. 2009-03-17 17:55:15 +00:00
VMCore typo 2009-03-17 11:38:29 +00:00
Makefile Reorganize llvmc code. 2009-03-02 09:01:14 +00:00