diff options
Diffstat (limited to 'lib/Transforms/Scalar/LICM.cpp')
-rw-r--r-- | lib/Transforms/Scalar/LICM.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/LICM.cpp b/lib/Transforms/Scalar/LICM.cpp index 3714d7b08f..37333db111 100644 --- a/lib/Transforms/Scalar/LICM.cpp +++ b/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); |