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:
f8f558d
)
Revert r144568 now that r144730 has fixed the fast-isel kill marker bug.
author
Evan Cheng
<evan.cheng@apple.com>
Wed, 16 Nov 2011 04:55:01 +0000
(
04:55
+0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Wed, 16 Nov 2011 04:55:01 +0000
(
04:55
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144776
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 7a0fcb5651c0b7c8abe398663aca3925fd1c0620..53c63a09e8055c029622aecbc71ffd55e1bfbc2d 100644
(file)
--- a/
lib/CodeGen/TwoAddressInstructionPass.cpp
+++ b/
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;
}