diff options
| author | Chris Lattner <sabre@nondot.org> | 2002-08-22 22:49:05 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2002-08-22 22:49:05 +0000 |
| commit | cd709cbf53cc33486f06e4e38f29fac87205def5 (patch) | |
| tree | 1b428d677e5c0b3751272cc97faebd73cc1190ff /llvm/lib/Transforms/Scalar/LICM.cpp | |
| parent | 030effa42ca55f9bc37e542b8e06e8abf4ea730c (diff) | |
| download | bcm5719-llvm-cd709cbf53cc33486f06e4e38f29fac87205def5.tar.gz bcm5719-llvm-cd709cbf53cc33486f06e4e38f29fac87205def5.zip | |
Load & StoreInst no longer derive from MemAccessInst, so we don't have
to handle indexing anymore
llvm-svn: 3485
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LICM.cpp')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/LICM.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/LICM.cpp b/llvm/lib/Transforms/Scalar/LICM.cpp index 3714d7b08f4..37333db1115 100644 --- a/llvm/lib/Transforms/Scalar/LICM.cpp +++ b/llvm/lib/Transforms/Scalar/LICM.cpp @@ -105,7 +105,6 @@ namespace { void visitShiftInst(ShiftInst &I) { visitBinaryOperator((Instruction&)I); } void visitLoadInst(LoadInst &LI) { - assert(!LI.hasIndices()); if (isLoopInvariant(LI.getOperand(0)) && !pointerInvalidatedByLoop(LI.getOperand(0))) hoist(LI); |

