aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2017-03-09 00:03:37 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2017-03-09 00:03:37 +0000
commit8537d9994dbd041da176059449d060f2f320fc1a (patch)
tree0f11e5da24cceeb505e1b33c677f09d868b95cc9 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parent12d0c8d662a8e679c9d889425e0dc631487764fb (diff)
downloadllvm-8537d9994dbd041da176059449d060f2f320fc1a.zip
llvm-8537d9994dbd041da176059449d060f2f320fc1a.tar.gz
llvm-8537d9994dbd041da176059449d060f2f320fc1a.tar.bz2
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
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions