[JumpThreading] Fix opcode bonus in getJumpThreadDuplicationCost()
[oota-llvm.git] / test / Transforms / IndVarSimplify / lftr-zext.ll
index a5dda92c7749b74330dcd37b238b5b8efbc790e4..e654e143cee3b33e24d74754ed329f64cf6bb62a 100644 (file)
@@ -11,10 +11,10 @@ define void @foo(i8* %a) nounwind uwtable ssp {
 
 ; <label>:1                                       ; preds = %0, %1
   %i.0 = phi i8 [ 0, %0 ], [ %5, %1 ]
-  %p.0 = phi i8* [ getelementptr inbounds ([240 x i8]* @data, i64 0, i64 0), %0 ], [ %4, %1 ]
+  %p.0 = phi i8* [ getelementptr inbounds ([240 x i8], [240 x i8]* @data, i64 0, i64 0), %0 ], [ %4, %1 ]
   %.0 = phi i8* [ %a, %0 ], [ %2, %1 ]
   %2 = getelementptr inbounds i8, i8* %.0, i64 1
-  %3 = load i8* %.0, align 1
+  %3 = load i8, i8* %.0, align 1
   %4 = getelementptr inbounds i8, i8* %p.0, i64 1
   store i8 %3, i8* %p.0, align 1
   %5 = add i8 %i.0, 1