diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2012-07-24 07:21:08 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2012-07-24 07:21:08 +0000 |
commit | 8899d5c6fb3cf118c5c73eade290b6ebb2b3b850 (patch) | |
tree | 18fe26d262870291e657e2c1699ca5eb916c033b /lib/CodeGen/LiveRangeCalc.h | |
parent | ea0ca846478b8296f679afa419f2ad4e28073ad5 (diff) | |
download | external_llvm-8899d5c6fb3cf118c5c73eade290b6ebb2b3b850.zip external_llvm-8899d5c6fb3cf118c5c73eade290b6ebb2b3b850.tar.gz external_llvm-8899d5c6fb3cf118c5c73eade290b6ebb2b3b850.tar.bz2 |
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/CodeGen/LiveRangeCalc.h')
0 files changed, 0 insertions, 0 deletions