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 | 2131e2a75fc562e4dbaeb6954eac35147c71104f (patch) | |
tree | 3fd984b812caf8633ef653b627bbaa0c63f58aaa /lib | |
parent | 6e62b4ef14bf96e84962171dd3f115a7f8c6dc49 (diff) | |
download | external_llvm-2131e2a75fc562e4dbaeb6954eac35147c71104f.zip external_llvm-2131e2a75fc562e4dbaeb6954eac35147c71104f.tar.gz external_llvm-2131e2a75fc562e4dbaeb6954eac35147c71104f.tar.bz2 |
Re-enable isel kill flags, now that the local allocator is ignoring them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102981 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/CodeGen/SelectionDAG/InstrEmitter.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/CodeGen/SelectionDAG/InstrEmitter.cpp b/lib/CodeGen/SelectionDAG/InstrEmitter.cpp index 8c2127e..1d44ff6 100644 --- a/lib/CodeGen/SelectionDAG/InstrEmitter.cpp +++ b/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, |