diff options
| author | Dan Gohman <gohman@apple.com> | 2010-04-30 00:32:51 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2010-04-30 00:32:51 +0000 |
| commit | 587e0800e5a5ae5c1b975c279b103bc2523f59f5 (patch) | |
| tree | 0a2e3033168d4722a467f171cf310054c71d5fc7 | |
| parent | 0a1513902fabbc9e996f758b4531f75b2a175feb (diff) | |
| download | bcm5719-llvm-587e0800e5a5ae5c1b975c279b103bc2523f59f5.tar.gz bcm5719-llvm-587e0800e5a5ae5c1b975c279b103bc2523f59f5.zip | |
Temporarily disable SelectionDAG kill flags, which are causing trouble.
llvm-svn: 102680
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp b/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp index e944dfd17d0..bf65cb56f16 100644 --- a/llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp +++ b/llvm/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; +#else + bool isKill = false; +#endif MI->addOperand(MachineOperand::CreateReg(VReg, isOptDef, false/*isImp*/, isKill, |

