llvm/test/Transforms/ConstantMerge
Rafael Espindola 46456f6a2f Corruptly merge constants with explicit and implicit alignments.
Constant merge can merge a constant with implicit alignment with one that has
explicit alignment. Before this change it was assuming that the explicit
alignment was higher than the implicit one, causing the result to be under
aligned in some cases.

Fixes pr17815.

Patch by Chris Smowton!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194506 91177308-0d34-0410-b5e6-96231b3b80d8
2013-11-12 20:21:43 +00:00
..
2002-09-23-CPR-Update.ll
2003-10-28-MergeExternalConstants.ll
2011-01-15-EitherOrder.ll
align.ll Corruptly merge constants with explicit and implicit alignments. 2013-11-12 20:21:43 +00:00
dont-merge.ll
linker-private.ll
merge-both.ll
unnamed-addr.ll