aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/SimpleRegisterCoalescing.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-08-05 07:20:57 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-08-05 07:20:57 +0000
commitd78e8640acc1e24354dbb3909b5429683423586a (patch)
tree11886f7787afbe81682d4c2fb5a0924702541ce2 /lib/CodeGen/SimpleRegisterCoalescing.cpp
parenteed97ef5d0254bc5e89ef434c4e4857922fbc3d1 (diff)
downloadexternal_llvm-d78e8640acc1e24354dbb3909b5429683423586a.zip
external_llvm-d78e8640acc1e24354dbb3909b5429683423586a.tar.gz
external_llvm-d78e8640acc1e24354dbb3909b5429683423586a.tar.bz2
Remove #if 0.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54347 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SimpleRegisterCoalescing.cpp')
-rw-r--r--lib/CodeGen/SimpleRegisterCoalescing.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/CodeGen/SimpleRegisterCoalescing.cpp b/lib/CodeGen/SimpleRegisterCoalescing.cpp
index 9cb06ce..933465b 100644
--- a/lib/CodeGen/SimpleRegisterCoalescing.cpp
+++ b/lib/CodeGen/SimpleRegisterCoalescing.cpp
@@ -533,11 +533,6 @@ void SimpleRegisterCoalescing::RemoveUnnecessaryKills(unsigned Reg,
MachineOperand &UseMO = UI.getOperand();
if (UseMO.isKill()) {
MachineInstr *UseMI = UseMO.getParent();
-#if 0
- unsigned SReg, DReg;
- if (!tii_->isMoveInstr(*UseMI, SReg, DReg))
- continue;
-#endif
unsigned UseIdx = li_->getUseIndex(li_->getInstructionIndex(UseMI));
if (JoinedCopies.count(UseMI))
continue;