llvm-project/llvm/test/Transforms/ConstantMerge
Evgeniy Stepanov 8537d9994d Don't merge global constants with non-dbg metadata.
!type metadata can not be dropped. An alternative to this is adding
!type metadata from the replaced globals to the replacement, but that
may weaken type tests and make them slower at the same time.

The merged global gets !dbg metadata from replaced globals, and can
end up with multiple debug locations.

llvm-svn: 297327
2017-03-09 00:03:37 +00:00
..
2002-09-23-CPR-Update.ll
2003-10-28-MergeExternalConstants.ll
2011-01-15-EitherOrder.ll
align.ll
dont-merge.ll Don't merge global constants with non-dbg metadata. 2017-03-09 00:03:37 +00:00
merge-both.ll
merge-dbg.ll Don't merge global constants with non-dbg metadata. 2017-03-09 00:03:37 +00:00
unnamed-addr.ll