[llvm-commits] [llvm] r102826 - /llvm/trunk/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
Dan Gohman
gohman at apple.com
Fri Apr 30 18:57:57 PDT 2010
Author: djg
Date: Fri Apr 30 20:57:56 2010
New Revision: 102826
URL: http://llvm.org/viewvc/llvm-project?rev=102826&view=rev
Log:
Re-disable kill flags, as there is more trouble.
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=102826&r1=102825&r2=102826&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/InstrEmitter.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/InstrEmitter.cpp Fri Apr 30 20:57:56 2010
@@ -296,6 +296,7 @@
}
}
+#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
@@ -306,6 +307,9 @@
--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