diff options
Diffstat (limited to 'test/Transforms/GVN/pre-gep-load.ll')
-rw-r--r-- | test/Transforms/GVN/pre-gep-load.ll | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/Transforms/GVN/pre-gep-load.ll b/test/Transforms/GVN/pre-gep-load.ll index 3ee3a37..291af35 100644 --- a/test/Transforms/GVN/pre-gep-load.ll +++ b/test/Transforms/GVN/pre-gep-load.ll @@ -13,10 +13,10 @@ entry: sw.bb: ; preds = %entry, %entry %idxprom = sext i32 %i to i64 - %arrayidx = getelementptr inbounds double** %p, i64 0 - %0 = load double** %arrayidx, align 8 - %arrayidx1 = getelementptr inbounds double* %0, i64 %idxprom - %1 = load double* %arrayidx1, align 8 + %arrayidx = getelementptr inbounds double*, double** %p, i64 0 + %0 = load double*, double** %arrayidx, align 8 + %arrayidx1 = getelementptr inbounds double, double* %0, i64 %idxprom + %1 = load double, double* %arrayidx1, align 8 %sub = fsub double %1, 1.000000e+00 %cmp = fcmp olt double %sub, 0.000000e+00 br i1 %cmp, label %if.then, label %if.end @@ -29,10 +29,10 @@ if.end: ; preds = %sw.bb sw.bb2: ; preds = %if.end, %entry %idxprom3 = sext i32 %i to i64 - %arrayidx4 = getelementptr inbounds double** %p, i64 0 - %2 = load double** %arrayidx4, align 8 - %arrayidx5 = getelementptr inbounds double* %2, i64 %idxprom3 - %3 = load double* %arrayidx5, align 8 + %arrayidx4 = getelementptr inbounds double*, double** %p, i64 0 + %2 = load double*, double** %arrayidx4, align 8 + %arrayidx5 = getelementptr inbounds double, double* %2, i64 %idxprom3 + %3 = load double, double* %arrayidx5, align 8 ; CHECK: sw.bb2: ; CHECK-NEXT-NOT: sext ; CHECK-NEXT: phi double [ |