aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorJames Molloy <james.molloy@arm.com>2015-11-19 18:04:33 +0000
committerJames Molloy <james.molloy@arm.com>2015-11-19 18:04:33 +0000
commit1d695a09ddd39d4163f9d08d250309865be7630f (patch)
treee2234f231e552b58ead2598ac1c8c661da18251b /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parentc7157bfd55dd04788af6abb04d0d2910634a9aa3 (diff)
downloadllvm-1d695a09ddd39d4163f9d08d250309865be7630f.zip
llvm-1d695a09ddd39d4163f9d08d250309865be7630f.tar.gz
llvm-1d695a09ddd39d4163f9d08d250309865be7630f.tar.bz2
[GlobalOpt] Localize some globals that have non-instruction users
We currently bail out of global localization if the global has non-instruction users. However, often these can be simple bitcasts or constant-GEPs, which we can easily turn into instructions before localizing. Be a bit more aggressive. llvm-svn: 253584
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions