projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert r144568 now that r144730 has fixed the fast-isel kill marker bug.
[oota-llvm.git]
/
lib
/
CodeGen
/
TwoAddressInstructionPass.cpp
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;
}