Re-disable kill flags, as there is more trouble.
authorDan Gohman <gohman@apple.com>
Sat, 1 May 2010 01:57:56 +0000 (01:57 +0000)
committerDan Gohman <gohman@apple.com>
Sat, 1 May 2010 01:57:56 +0000 (01:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102826 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/InstrEmitter.cpp

index 1d44ff662915a44af5f00215df1276f658af84b1..8c2127ebc08408c7fdc5561b5525e1c212ef0580 100644 (file)
@@ -296,6 +296,7 @@ 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
@@ -306,6 +307,9 @@ 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,