diff options
| author | Dan Gohman <gohman@apple.com> | 2010-05-01 01:57:56 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2010-05-01 01:57:56 +0000 |
| commit | e7fc4ec5183e0c471c65359502f8755692a7a31c (patch) | |
| tree | 23a094f46399af9a66687e1fe005518346e562b2 /lib/CodeGen/SelectionDAG | |
| parent | 1708d84108e60703f6a3a90c5698e5f7c7f2d6fe (diff) | |
| download | external_llvm-e7fc4ec5183e0c471c65359502f8755692a7a31c.zip external_llvm-e7fc4ec5183e0c471c65359502f8755692a7a31c.tar.gz external_llvm-e7fc4ec5183e0c471c65359502f8755692a7a31c.tar.bz2 | |
Re-disable kill flags, as there is more trouble.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102826 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG')
| -rw-r--r-- | lib/CodeGen/SelectionDAG/InstrEmitter.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/SelectionDAG/InstrEmitter.cpp b/lib/CodeGen/SelectionDAG/InstrEmitter.cpp index 1d44ff6..8c2127e 100644 --- a/lib/CodeGen/SelectionDAG/InstrEmitter.cpp +++ b/lib/CodeGen/SelectionDAG/InstrEmitter.cpp @@ -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, |
