summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/ConstantMerge/dont-merge.ll
Commit message (Collapse)AuthorAgeFilesLines
* Don't merge global constants with non-dbg metadata.Evgeniy Stepanov2017-03-091-0/+38
| | | | | | | | | | | !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
* fix PR8144, a bug where constant merge would merge globals markedChris Lattner2010-09-151-0/+14
| | | | | | attribute(used). llvm-svn: 113911
* 1. modernize the constantmerge pass, using densemap/smallvector.Chris Lattner2010-02-121-10/+24
| | | | | | | | | 2. don't bother trying to merge globals in non-default sections, doing so is quite dubious at best anyway. 3. fix a bug reported by Arnaud de Grandmaison where we'd try to merge two globals in different address spaces. llvm-svn: 95995
* rename testChris Lattner2010-02-121-0/+16
llvm-svn: 95993
OpenPOWER on IntegriCloud