summaryrefslogtreecommitdiffstats
path: root/llvm/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
commita4d6d884d6a27395d48f6f2a98da4394345168bd (patch)
treec9d5b372f7fb84585c91a84401e045d2c6a16947 /llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp
parent0ca10c957237df62851bedc13ac5dc414d1b1f99 (diff)
downloadbcm5719-llvm-a4d6d884d6a27395d48f6f2a98da4394345168bd.tar.gz
bcm5719-llvm-a4d6d884d6a27395d48f6f2a98da4394345168bd.zip
Remove #if 0.
llvm-svn: 54347
Diffstat (limited to 'llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp')
-rw-r--r--llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp b/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp
index 9cb06ced3fe..933465b0004 100644
--- a/llvm/lib/CodeGen/SimpleRegisterCoalescing.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud