commit | 43935601f12cf126e126573c84df33fa200aba62 | [log] [tgz] |
---|---|---|
author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | Thu Mar 09 00:03:37 2017 +0000 |
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | Thu Mar 09 00:03:37 2017 +0000 |
tree | 36b3ac6f1644ef90762cd2b593be61e4ccadf28e | |
parent | 2cee5cc825969057f8d23b507a4861e606216aed [diff] |
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297327 91177308-0d34-0410-b5e6-96231b3b80d8