* Clean up code a little bit
[oota-llvm.git] / lib / Transforms / Scalar / LICM.cpp
index 3714d7b08f4b4b1a7fdd7ed489cb6b0cdb724657..37333db1115d30023e7259cc9d84d3a54f7cdd08 100644 (file)
@@ -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);