[llvm-commits] [llvm] r102680 - /llvm/trunk/lib/CodeGen/SelectionDAG/InstrEmitter.cpp

Dan Gohman gohman at apple.com
Thu Apr 29 17:32:51 PDT 2010


Author: djg
Date: Thu Apr 29 19:32:51 2010
New Revision: 102680

URL: http://llvm.org/viewvc/llvm-project?rev=102680&view=rev
Log:
Temporarily disable SelectionDAG kill flags, which are causing 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=102680&r1=102679&r2=102680&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/InstrEmitter.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/InstrEmitter.cpp Thu Apr 29 19:32:51 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;
+#else
+  bool isKill = false;
+#endif
 
   MI->addOperand(MachineOperand::CreateReg(VReg, isOptDef,
                                            false/*isImp*/, isKill,





More information about the llvm-commits mailing list