llvm-6502/test/Transforms/SROA
Chandler Carruth b67c9a5b02 Fix a somewhat surprising miscompile where code relying on an ABI
alignment could lose it due to the alloca type moving down to a much
smaller alignment guarantee.

Now SROA will actively compute a proper alignment, factoring the target
data, any explicit alignment, and the offset within the struct. This
will in some cases lower the alignment requirements, but when we lower
them below those of the type, we drop the alignment entirely to give
freedom to the code generator to align it however is convenient.

Thanks to Duncan for the lovely test case that pinned this down. =]

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164891 91177308-0d34-0410-b5e6-96231b3b80d8
2012-09-29 10:41:21 +00:00
..
alignment.ll Fix a somewhat surprising miscompile where code relying on an ABI 2012-09-29 10:41:21 +00:00
basictest.ll Teach all of the loads, stores, memsets and memcpys created by the 2012-09-26 10:27:46 +00:00
fca.ll Add a major missing piece to the new SROA pass: aggressive splitting of 2012-09-18 12:57:43 +00:00
lit.local.cfg
phi-and-select.ll Fix a case where SROA did not correctly detect dead PHI or selects due 2012-09-25 10:03:40 +00:00
vector-promotion.ll