summaryrefslogtreecommitdiff
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
commit4fa393aae146891b33bfe072addb12bf44d61449 (patch)
tree11886f7787afbe81682d4c2fb5a0924702541ce2
parent068b4ff5531062a0c6e93d038c24fcf209527406 (diff)
downloadllvm-4fa393aae146891b33bfe072addb12bf44d61449.tar.gz
llvm-4fa393aae146891b33bfe072addb12bf44d61449.tar.bz2
llvm-4fa393aae146891b33bfe072addb12bf44d61449.tar.xz
Remove #if 0.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54347 91177308-0d34-0410-b5e6-96231b3b80d8
-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 9cb06ced3f..933465b000 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;