llvm-6502/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 Tests: rewrite 'opt ... %s' to 'opt ... < %s' so that opt does not emit a ModuleID 2012-12-30 01:28:40 +00:00
2011-01-15-EitherOrder.ll Tests: rewrite 'opt ... %s' to 'opt ... < %s' so that opt does not emit a ModuleID 2012-12-30 01:28:40 +00:00
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 Fix const merging when an alias of a const is llvm.used. 2013-05-06 01:48:55 +00:00
unnamed-addr.ll Tests: rewrite 'opt ... %s' to 'opt ... < %s' so that opt does not emit a ModuleID 2012-12-30 01:28:40 +00:00