diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2011-11-16 04:55:01 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2011-11-16 04:55:01 +0000 |
| commit | 4ac36c8e268db2c98750ba91a389c7de2fbdcae1 (patch) | |
| tree | 1bf7bce542a2c07c6778051813e695eb0a6ed64b /llvm/lib/CodeGen | |
| parent | db408f1857c780e3f0d973c26744da88a412c5ce (diff) | |
| download | bcm5719-llvm-4ac36c8e268db2c98750ba91a389c7de2fbdcae1.tar.gz bcm5719-llvm-4ac36c8e268db2c98750ba91a389c7de2fbdcae1.zip | |
Revert r144568 now that r144730 has fixed the fast-isel kill marker bug.
llvm-svn: 144776
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/TwoAddressInstructionPass.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp b/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp index 7a0fcb5651c..53c63a09e80 100644 --- a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp +++ b/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp @@ -502,8 +502,7 @@ MachineInstr *findLocalKill(unsigned Reg, MachineBasicBlock *MBB, continue; if (!UI.getOperand().isKill()) return 0; - if (KillMI) - return 0; // -O0 kill markers cannot be trusted? + assert(!KillMI && "More than one local kills?"); KillMI = UseMI; } |

