projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23f2207
)
Disable the assertion again. Looks like fastisel is still generating bad kill markers.
author
Evan Cheng
<evan.cheng@apple.com>
Wed, 16 Nov 2011 18:32:14 +0000
(18:32 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Wed, 16 Nov 2011 18:32:14 +0000
(18:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144804
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/TwoAddressInstructionPass.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/TwoAddressInstructionPass.cpp
b/lib/CodeGen/TwoAddressInstructionPass.cpp
index 53c63a09e8055c029622aecbc71ffd55e1bfbc2d..7a0fcb5651c0b7c8abe398663aca3925fd1c0620 100644
(file)
--- 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;
}