Revert "InstCombine: Turn mul.with.overflow(X, 2) into the cheaper add.with.overflow...
[oota-llvm.git] / lib / Transforms / InstCombine / InstCombineCasts.cpp
index 1f37386bdb5c43624707633676f4b41b1269b4dc..12b2cb1e7842da79fe8e8174c5806a5bf04f38dc 100644 (file)
@@ -1684,8 +1684,7 @@ Instruction *InstCombiner::visitBitCast(BitCastInst &CI) {
     // If we found a path from the src to dest, create the getelementptr now.
     if (SrcElTy == DstElTy) {
       SmallVector<Value*, 8> Idxs(NumZeros+1, ZeroUInt);
-      return GetElementPtrInst::CreateInBounds(Src, Idxs.begin(), Idxs.end(),"",
-                                               ((Instruction*)NULL));
+      return GetElementPtrInst::CreateInBounds(Src, Idxs.begin(), Idxs.end());
     }
   }