aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2012-07-21 08:29:45 +0000
committerNick Lewycky <nicholas@mxc.ca>2012-07-21 08:29:45 +0000
commit72b83e5eaa649818e53ffe099a32644ef15a3d04 (patch)
tree3441248eddbe414330aeeb61e7cb7b7e8668a093 /llvm/lib/CodeGen/MachineScheduler.cpp
parentf72efdb62fdc3b31da872a93efef2b82c45ce4f3 (diff)
downloadllvm-72b83e5eaa649818e53ffe099a32644ef15a3d04.zip
llvm-72b83e5eaa649818e53ffe099a32644ef15a3d04.tar.gz
llvm-72b83e5eaa649818e53ffe099a32644ef15a3d04.tar.bz2
Teach globalopt to play nice with leak checkers. This is a reapplication of
r160529 that was subsequently reverted. The fix was to not call GV->eraseFromParent() right before the caller does the same. The existing testcases already caught this bug if run under valgrind. llvm-svn: 160602
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions