diff options
| author | Dan Gohman <gohman@apple.com> | 2010-05-04 00:12:15 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2010-05-04 00:12:15 +0000 |
| commit | 0e79c864c37292f47744b3d9aef7d108ef5ba2f9 (patch) | |
| tree | 71f0ed4173d570864e8d72c42686b4edcbb146ec /llvm/lib/CodeGen/SelectionDAG | |
| parent | 30e637c9bc1653988cf5479808b8f37dcdf4dcb2 (diff) | |
| download | bcm5719-llvm-0e79c864c37292f47744b3d9aef7d108ef5ba2f9.tar.gz bcm5719-llvm-0e79c864c37292f47744b3d9aef7d108ef5ba2f9.zip | |
Re-enable isel kill flags, now that the local allocator is ignoring them.
llvm-svn: 102981
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp b/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp index 8c2127ebc08..1d44ff66291 100644 --- a/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp @@ -296,7 +296,6 @@ InstrEmitter::AddRegisterOperand(MachineInstr *MI, SDValue Op, } } -#if 0 // If this value has only one use, that use is a kill. This is a // conservative approximation. Tied operands are never killed, so we need // to check that. And that means we need to determine the index of the @@ -307,9 +306,6 @@ InstrEmitter::AddRegisterOperand(MachineInstr *MI, SDValue Op, --Idx; bool isTied = MI->getDesc().getOperandConstraint(Idx, TOI::TIED_TO) != -1; bool isKill = Op.hasOneUse() && !isTied && !IsDebug; -#else - bool isKill = false; -#endif MI->addOperand(MachineOperand::CreateReg(VReg, isOptDef, false/*isImp*/, isKill, |

