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 | 14117c44770c32b56de143a0eff8c2d0fd694e0d (patch) | |
tree | b1a131413a5223ee5bddb446dda6a7f8418e7bd5 /lib/CodeGen/TwoAddressInstructionPass.cpp | |
parent | 23f220705a74685edd743e84861a3e0d6d109828 (diff) | |
download | external_llvm-14117c44770c32b56de143a0eff8c2d0fd694e0d.zip external_llvm-14117c44770c32b56de143a0eff8c2d0fd694e0d.tar.gz external_llvm-14117c44770c32b56de143a0eff8c2d0fd694e0d.tar.bz2 |
Disable the assertion again. Looks like fastisel is still generating bad kill markers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144804 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/TwoAddressInstructionPass.cpp')
-rw-r--r-- | lib/CodeGen/TwoAddressInstructionPass.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/TwoAddressInstructionPass.cpp b/lib/CodeGen/TwoAddressInstructionPass.cpp index 53c63a0..7a0fcb5 100644 --- a/lib/CodeGen/TwoAddressInstructionPass.cpp +++ b/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; } |