aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/InstCombine/InstructionCombining.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-05-22 14:52:12 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-05-22 14:52:12 +0000
commit76ff7418361c1c80ce9d018bce63511a70bd7390 (patch)
treed815631d4769dd175ea04499eafe828d77b401eb /lib/Transforms/InstCombine/InstructionCombining.cpp
parent5cdbb1de7d9ca578330b35b7fb7b10296216316b (diff)
downloadexternal_llvm-76ff7418361c1c80ce9d018bce63511a70bd7390.zip
external_llvm-76ff7418361c1c80ce9d018bce63511a70bd7390.tar.gz
external_llvm-76ff7418361c1c80ce9d018bce63511a70bd7390.tar.bz2
Only erase virtregs with no uses left.
Also make sure registers aren't erased twice if the dead def mentions the register twice. This fixes PR12911. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157254 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/InstCombine/InstructionCombining.cpp')
0 files changed, 0 insertions, 0 deletions