commit | 14117c44770c32b56de143a0eff8c2d0fd694e0d | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Wed Nov 16 18:32:14 2011 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Wed Nov 16 18:32:14 2011 +0000 |
tree | b1a131413a5223ee5bddb446dda6a7f8418e7bd5 | |
parent | 23f220705a74685edd743e84861a3e0d6d109828 [diff] [blame] |
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
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 @@ 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; }