summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2012-02-09 04:39:48 +0000
committerLang Hames <lhames@gmail.com>2012-02-09 04:39:48 +0000
commit95d6edeba8f164cf91da4f7ed90573d09b5fed47 (patch)
tree0941e30b41c93c11b2271e7c4e96169c7c971fd9 /llvm/lib
parentc8233cb740d5c3ff866e7244d9d85680576c78d3 (diff)
downloadbcm5719-llvm-95d6edeba8f164cf91da4f7ed90573d09b5fed47.tar.gz
bcm5719-llvm-95d6edeba8f164cf91da4f7ed90573d09b5fed47.zip
Remove assertion. Not all use operands are reads.
llvm-svn: 150149
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/LiveIntervalAnalysis.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
index 7d2473282e2..5c3b57fda51 100644
--- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/llvm/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);
OpenPOWER on IntegriCloud