llvm-6502/lib/Transforms
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
..
Hello
InstCombine Surprisingly, we missed a trivial case here. Fix that! 2012-09-28 09:33:53 +00:00
Instrumentation Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164767 2012-09-27 10:14:43 +00:00
IPO GlobalDCE should be run at -O2 / -Os to eliminate unused dtor, etc. rdar://9142819 2012-09-28 21:23:26 +00:00
Scalar Fix a somewhat surprising miscompile where code relying on an ABI 2012-09-29 10:41:21 +00:00
Utils Fix a integer overflow in SimplifyCFG's look up table formation logic. 2012-09-27 18:29:58 +00:00
Vectorize Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164767 2012-09-27 10:14:43 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile