llvm-6502/test/CodeGen
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
..
AArch64 [AArch64] Add support for NEON scalar arithmetic instructions: 2013-10-07 16:36:15 +00:00
ARM Struct byval: use the correct alignment for loads generated to load 2013-10-07 19:47:53 +00:00
CPP [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
Generic Change objectsize intrinsic to accept different address spaces. 2013-10-07 18:06:48 +00:00
Hexagon TBAA: remove !tbaa from testing cases when they are not needed. 2013-09-30 18:17:35 +00:00
Inputs Debug Info: add an identifier field to DICompositeType. 2013-08-26 22:39:55 +00:00
Mips Support tblockaddr for static compilation in Mips16. 2013-10-04 22:01:40 +00:00
MSP430 [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
NVPTX [NVPTX] Make constant vector test case endian-independent 2013-09-19 13:14:44 +00:00
PowerPC TBAA: update tbaa format from scalar format to struct-path aware format. 2013-09-30 18:17:55 +00:00
R600 R600: add a pass that merges clauses. 2013-10-01 19:32:58 +00:00
SPARC [Sparc] Do not emit nop after fcmp* instruction with V9. 2013-10-06 07:06:44 +00:00
SystemZ [SystemZ] Add comparisons of high words and memory 2013-10-01 15:00:44 +00:00
Thumb ARM: Use "dmb sy" for barriers on M-class CPUs 2013-08-28 14:39:19 +00:00
Thumb2 Fix spelling intruction -> instruction. 2013-09-28 11:46:15 +00:00
X86 X86: Fix type check. Just because an integer type is illegal doesn't mean it's i64. 2013-10-07 19:11:35 +00:00
XCore XCore handling of thread local lowering 2013-09-09 10:42:11 +00:00