[llvm-commits] [llvm] r102981 - /llvm/trunk/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
Dan Gohman
gohman at apple.com
Mon May 3 17:12:15 PDT 2010
Author: djg
Date: Mon May 3 19:12:15 2010
New Revision: 102981
URL: http://llvm.org/viewvc/llvm-project?rev=102981&view=rev
Log:
Re-enable isel kill flags, now that the local allocator is ignoring them.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/InstrEmitter.cpp?rev=102981&r1=102980&r2=102981&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/InstrEmitter.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/InstrEmitter.cpp Mon May 3 19:12:15 2010
@@ -296,7 +296,6 @@
}
}
-#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 @@
--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,
More information about the llvm-commits
mailing list