[llvm-commits] [llvm] r150149 - /llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp
Lang Hames
lhames at gmail.com
Wed Feb 8 20:39:48 PST 2012
Author: lhames
Date: Wed Feb 8 22:39:48 2012
New Revision: 150149
URL: http://llvm.org/viewvc/llvm-project?rev=150149&view=rev
Log:
Remove assertion. Not all use operands are reads.
Modified:
llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp
Modified: llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp?rev=150149&r1=150148&r2=150149&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp (original)
+++ llvm/trunk/lib/CodeGen/LiveIntervalAnalysis.cpp Wed Feb 8 22:39:48 2012
@@ -940,9 +940,6 @@
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);
More information about the llvm-commits
mailing list