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:
f7b9631
)
Remove assertion. Not all use operands are reads.
author
Lang Hames
<lhames@gmail.com>
Thu, 9 Feb 2012 04:39:48 +0000
(
04:39
+0000)
committer
Lang Hames
<lhames@gmail.com>
Thu, 9 Feb 2012 04:39:48 +0000
(
04:39
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150149
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/LiveIntervalAnalysis.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/LiveIntervalAnalysis.cpp
b/lib/CodeGen/LiveIntervalAnalysis.cpp
index 7d2473282e2d26d9ca8c065dbdc3b681e04033f0..5c3b57fda51e4b298bb5730afe97558c6334a559 100644
(file)
--- a/
lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/
lib/CodeGen/LiveIntervalAnalysis.cpp
@@
-940,9
+940,6
@@
void LiveIntervals::moveInstr(MachineBasicBlock::iterator insertPt,
if (!mop.isReg() || mop.getReg() == 0)
continue;
unsigned reg = mop.getReg();
- if (mop.isUse()) {
- assert(mop.readsReg());
- }
if (mop.readsReg() && !ecs.count(reg)) {
uses.insert(reg);