diff options
author | Lang Hames <lhames@gmail.com> | 2012-02-09 04:39:48 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2012-02-09 04:39:48 +0000 |
commit | 95d6edeba8f164cf91da4f7ed90573d09b5fed47 (patch) | |
tree | 0941e30b41c93c11b2271e7c4e96169c7c971fd9 /llvm/lib | |
parent | c8233cb740d5c3ff866e7244d9d85680576c78d3 (diff) | |
download | bcm5719-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.cpp | 3 |
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); |