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 Change tests from "opt %s" to "opt < %s" so that opt doesn't see the 2009-09-11 18:01:28 +00:00
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 fix PR8144, a bug where constant merge would merge globals marked 2010-09-15 00:30:11 +00:00
linker-private.ll If the global variable is removed by the linker, then don't constant merge it 2012-01-11 00:13:08 +00:00
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