summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2012-01-25 21:53:23 +0000
committerLang Hames <lhames@gmail.com>2012-01-25 21:53:23 +0000
commit19feb5f24196d1abdd5839360e80dde7307a50c7 (patch)
tree9aa5894215179dd03d1b3a53badb7730d8ac6a5d /llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
parent5c3de1560abc535a5831b6b3af30b656c127da36 (diff)
downloadbcm5719-llvm-19feb5f24196d1abdd5839360e80dde7307a50c7.tar.gz
bcm5719-llvm-19feb5f24196d1abdd5839360e80dde7307a50c7.zip
Always break upon finding a vreg operand (in Release as well as +Asserts). Remove assertion which can no longer trigger.
llvm-svn: 148984
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveIntervalAnalysis.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
index f1f566771af..0e621ebc68c 100644
--- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -819,13 +819,8 @@ unsigned LiveIntervals::getReMatImplicitUse(const LiveInterval &li,
if (TargetRegisterInfo::isPhysicalRegister(Reg) &&
!allocatableRegs_[Reg])
continue;
- // FIXME: For now, only remat MI with at most one register operand.
- assert(!RegOp &&
- "Can't rematerialize instruction with multiple register operand!");
RegOp = MO.getReg();
-#ifdef NDEBUG
- break;
-#endif
+ break; // Found vreg operand - leave the loop.
}
return RegOp;
}
OpenPOWER on IntegriCloud