diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2011-11-16 18:32:14 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2011-11-16 18:32:14 +0000 |
| commit | 624eb2af6f38736de128d3a94da4c1ab8dbd8c77 (patch) | |
| tree | 75080690095c6955aa15c63def2998574d04fee4 /llvm/lib/CodeGen | |
| parent | abcac568691865530648f8fc308d22d97a9113d3 (diff) | |
| download | bcm5719-llvm-624eb2af6f38736de128d3a94da4c1ab8dbd8c77.tar.gz bcm5719-llvm-624eb2af6f38736de128d3a94da4c1ab8dbd8c77.zip | |
Disable the assertion again. Looks like fastisel is still generating bad kill markers.
llvm-svn: 144804
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/TwoAddressInstructionPass.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp b/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp index 53c63a09e80..7a0fcb5651c 100644 --- a/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp +++ b/llvm/lib/CodeGen/TwoAddressInstructionPass.cpp @@ -502,7 +502,8 @@ MachineInstr *findLocalKill(unsigned Reg, MachineBasicBlock *MBB, continue; if (!UI.getOperand().isKill()) return 0; - assert(!KillMI && "More than one local kills?"); + if (KillMI) + return 0; // -O0 kill markers cannot be trusted? KillMI = UseMI; } |

