diff options
Diffstat (limited to 'test/Transforms/LoopVectorize/same-base-access.ll')
-rw-r--r-- | test/Transforms/LoopVectorize/same-base-access.ll | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/test/Transforms/LoopVectorize/same-base-access.ll b/test/Transforms/LoopVectorize/same-base-access.ll index d19458f..31cff0e 100644 --- a/test/Transforms/LoopVectorize/same-base-access.ll +++ b/test/Transforms/LoopVectorize/same-base-access.ll @@ -26,33 +26,33 @@ define i32 @kernel11(double* %x, double* %y, i32 %n) nounwind uwtable ssp { br label %4 ; <label>:4 ; preds = %25, %0 - %5 = load i32* %k, align 4 - %6 = load i32* %3, align 4 + %5 = load i32, i32* %k, align 4 + %6 = load i32, i32* %3, align 4 %7 = icmp slt i32 %5, %6 br i1 %7, label %8, label %28 ; <label>:8 ; preds = %4 - %9 = load i32* %k, align 4 + %9 = load i32, i32* %k, align 4 %10 = sub nsw i32 %9, 1 %11 = sext i32 %10 to i64 - %12 = load double** %1, align 8 - %13 = getelementptr inbounds double* %12, i64 %11 - %14 = load double* %13, align 8 - %15 = load i32* %k, align 4 + %12 = load double*, double** %1, align 8 + %13 = getelementptr inbounds double, double* %12, i64 %11 + %14 = load double, double* %13, align 8 + %15 = load i32, i32* %k, align 4 %16 = sext i32 %15 to i64 - %17 = load double** %2, align 8 - %18 = getelementptr inbounds double* %17, i64 %16 - %19 = load double* %18, align 8 + %17 = load double*, double** %2, align 8 + %18 = getelementptr inbounds double, double* %17, i64 %16 + %19 = load double, double* %18, align 8 %20 = fadd double %14, %19 - %21 = load i32* %k, align 4 + %21 = load i32, i32* %k, align 4 %22 = sext i32 %21 to i64 - %23 = load double** %1, align 8 - %24 = getelementptr inbounds double* %23, i64 %22 + %23 = load double*, double** %1, align 8 + %24 = getelementptr inbounds double, double* %23, i64 %22 store double %20, double* %24, align 8 br label %25 ; <label>:25 ; preds = %8 - %26 = load i32* %k, align 4 + %26 = load i32, i32* %k, align 4 %27 = add nsw i32 %26, 1 store i32 %27, i32* %k, align 4 br label %4 @@ -86,8 +86,8 @@ define i32 @func2(i32* nocapture %a) nounwind uwtable ssp { ; <label>:1 ; preds = %7, %0 %indvars.iv = phi i64 [ 0, %0 ], [ %indvars.iv.next, %7 ] %2 = mul nsw i64 %indvars.iv, 7 - %3 = getelementptr inbounds i32* %a, i64 %2 - %4 = load i32* %3, align 4 + %3 = getelementptr inbounds i32, i32* %a, i64 %2 + %4 = load i32, i32* %3, align 4 %5 = icmp sgt i32 %4, 3 br i1 %5, label %6, label %7 |