diff options
author | Lang Hames <lhames@gmail.com> | 2012-01-25 21:53:23 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2012-01-25 21:53:23 +0000 |
commit | 6c76e80753cfc83dc6804fcd5d949c517dfe3434 (patch) | |
tree | 7e9d8653d645bf8a7863e263a088222db620ddf1 /lib/CodeGen | |
parent | 74423e32ce7f426b624bfb0c31481bcf6a36394d (diff) | |
download | external_llvm-6c76e80753cfc83dc6804fcd5d949c517dfe3434.zip external_llvm-6c76e80753cfc83dc6804fcd5d949c517dfe3434.tar.gz external_llvm-6c76e80753cfc83dc6804fcd5d949c517dfe3434.tar.bz2 |
Always break upon finding a vreg operand (in Release as well as +Asserts). Remove assertion which can no longer trigger.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148984 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/LiveIntervalAnalysis.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index f1f5667..0e621eb 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/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; } |