[LSR] canonicalize Prod*(1<<C) to Prod<<C
[oota-llvm.git] / test / Transforms / LoopStrengthReduce / scaling_factor_cost_crash.ll
index a652a7661e23ec2444b587220a76ca296dc8c031..27212d7b97b029d0c88345b96a83f259c4eb54b1 100644 (file)
@@ -55,7 +55,7 @@ define void @scalingFactorCrash() {
 ; <label>:16                                      ; preds = %16, %15
   %17 = phi i32 [ %21, %16 ], [ undef, %15 ]
   %18 = sub i32 %17, 1623127498
-  %19 = getelementptr inbounds i32* undef, i32 %18
+  %19 = getelementptr inbounds i32, i32* undef, i32 %18
   store i32 undef, i32* %19, align 4
   %20 = add i32 %17, 1623127499
   %21 = add i32 %20, -1623127498