summaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/Sink.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2012-07-24 07:21:08 +0000
committerNick Lewycky <nicholas@mxc.ca>2012-07-24 07:21:08 +0000
commit8899d5c6fb3cf118c5c73eade290b6ebb2b3b850 (patch)
tree18fe26d262870291e657e2c1699ca5eb916c033b /lib/Transforms/Scalar/Sink.cpp
parentea0ca846478b8296f679afa419f2ad4e28073ad5 (diff)
downloadllvm-8899d5c6fb3cf118c5c73eade290b6ebb2b3b850.tar.gz
llvm-8899d5c6fb3cf118c5c73eade290b6ebb2b3b850.tar.bz2
llvm-8899d5c6fb3cf118c5c73eade290b6ebb2b3b850.tar.xz
Teach globalopt to not nuke all stores to globals. Keep them around of they
might be deliberate "one time" leaks, so that leak checkers can find them. This is a reapply of r160602 with the fix that this time I'm committing the code I thought I was committing last time; the I->eraseFromParent() goes *after* the break out of the loop. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160664 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/Sink.cpp')
0 files changed, 0 insertions, 0 deletions