llvm-6502/lib
Manman Ren fb92f46459 Struct byval: use the correct alignment for loads generated to load
from struct byval to registers.

We used to pass 0 which means the alignment of PtrVT. Even when the alignment
of the struct is smaller than 4, the LOADs would have alignment of 4, and
further optimizations could combine the LOADs into a ldm, which would
cause crash.

The fix is to pass the alignment of the struct byval.

rdar://problem/15144402


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192126 91177308-0d34-0410-b5e6-96231b3b80d8
2013-10-07 19:47:53 +00:00
..
Analysis
AsmParser Add support for aliases with linkonce_odr. 2013-10-06 15:10:43 +00:00
Bitcode
CodeGen Formally added an explicit enum for DWARF TLS support. No functionality change. 2013-10-07 18:39:18 +00:00
DebugInfo
ExecutionEngine Remove dead code. 2013-10-07 13:54:50 +00:00
IR Change objectsize intrinsic to accept different address spaces. 2013-10-07 18:06:48 +00:00
IRReader
Linker
LTO Remove some really nasty uses of hasRawTextSupport. 2013-10-05 16:42:21 +00:00
MC Fix the documentation of getDefaultSubtargetFeatures. 2013-10-07 13:34:05 +00:00
Object
Option
Support Formally added an explicit enum for DWARF TLS support. No functionality change. 2013-10-07 18:39:18 +00:00
TableGen
Target Struct byval: use the correct alignment for loads generated to load 2013-10-07 19:47:53 +00:00
Transforms Revert r191834 until we measure the effect of this benchmarks and maybe find a better way to fix it 2013-10-07 19:03:24 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile