diff options
Diffstat (limited to 'test/Transforms/LowerExpectIntrinsic')
-rw-r--r-- | test/Transforms/LowerExpectIntrinsic/basic.ll | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/test/Transforms/LowerExpectIntrinsic/basic.ll b/test/Transforms/LowerExpectIntrinsic/basic.ll index f4326c8..5d72371 100644 --- a/test/Transforms/LowerExpectIntrinsic/basic.ll +++ b/test/Transforms/LowerExpectIntrinsic/basic.ll @@ -7,7 +7,7 @@ entry: %retval = alloca i32, align 4 %x.addr = alloca i32, align 4 store i32 %x, i32* %x.addr, align 4 - %tmp = load i32* %x.addr, align 4 + %tmp = load i32, i32* %x.addr, align 4 %cmp = icmp sgt i32 %tmp, 1 %conv = zext i1 %cmp to i32 %conv1 = sext i32 %conv to i64 @@ -27,7 +27,7 @@ if.end: ; preds = %entry br label %return return: ; preds = %if.end, %if.then - %0 = load i32* %retval + %0 = load i32, i32* %retval ret i32 %0 } @@ -41,7 +41,7 @@ entry: %retval = alloca i32, align 4 %x.addr = alloca i32, align 4 store i32 %x, i32* %x.addr, align 4 - %tmp = load i32* %x.addr, align 4 + %tmp = load i32, i32* %x.addr, align 4 %conv = sext i32 %tmp to i64 %expval = call i64 @llvm.expect.i64(i64 %conv, i64 1) %tobool = icmp ne i64 %expval, 0 @@ -59,7 +59,7 @@ if.end: ; preds = %entry br label %return return: ; preds = %if.end, %if.then - %0 = load i32* %retval + %0 = load i32, i32* %retval ret i32 %0 } @@ -69,7 +69,7 @@ entry: %retval = alloca i32, align 4 %x.addr = alloca i32, align 4 store i32 %x, i32* %x.addr, align 4 - %tmp = load i32* %x.addr, align 4 + %tmp = load i32, i32* %x.addr, align 4 %tobool = icmp ne i32 %tmp, 0 %lnot = xor i1 %tobool, true %lnot.ext = zext i1 %lnot to i32 @@ -90,7 +90,7 @@ if.end: ; preds = %entry br label %return return: ; preds = %if.end, %if.then - %0 = load i32* %retval + %0 = load i32, i32* %retval ret i32 %0 } @@ -100,7 +100,7 @@ entry: %retval = alloca i32, align 4 %x.addr = alloca i32, align 4 store i32 %x, i32* %x.addr, align 4 - %tmp = load i32* %x.addr, align 4 + %tmp = load i32, i32* %x.addr, align 4 %tobool = icmp ne i32 %tmp, 0 %lnot = xor i1 %tobool, true %lnot1 = xor i1 %lnot, true @@ -122,7 +122,7 @@ if.end: ; preds = %entry br label %return return: ; preds = %if.end, %if.then - %0 = load i32* %retval + %0 = load i32, i32* %retval ret i32 %0 } @@ -132,7 +132,7 @@ entry: %retval = alloca i32, align 4 %x.addr = alloca i32, align 4 store i32 %x, i32* %x.addr, align 4 - %tmp = load i32* %x.addr, align 4 + %tmp = load i32, i32* %x.addr, align 4 %cmp = icmp slt i32 %tmp, 0 %conv = zext i1 %cmp to i32 %conv1 = sext i32 %conv to i64 @@ -152,7 +152,7 @@ if.end: ; preds = %entry br label %return return: ; preds = %if.end, %if.then - %0 = load i32* %retval + %0 = load i32, i32* %retval ret i32 %0 } @@ -162,7 +162,7 @@ entry: %retval = alloca i32, align 4 %x.addr = alloca i32, align 4 store i32 %x, i32* %x.addr, align 4 - %tmp = load i32* %x.addr, align 4 + %tmp = load i32, i32* %x.addr, align 4 %conv = sext i32 %tmp to i64 %expval = call i64 @llvm.expect.i64(i64 %conv, i64 1) ; CHECK: !prof !2 @@ -181,7 +181,7 @@ sw.epilog: ; preds = %entry br label %return return: ; preds = %sw.epilog, %sw.bb - %0 = load i32* %retval + %0 = load i32, i32* %retval ret i32 %0 } @@ -191,7 +191,7 @@ entry: %retval = alloca i32, align 4 %x.addr = alloca i32, align 4 store i32 %x, i32* %x.addr, align 4 - %tmp = load i32* %x.addr, align 4 + %tmp = load i32, i32* %x.addr, align 4 %conv = sext i32 %tmp to i64 %expval = call i64 @llvm.expect.i64(i64 %conv, i64 1) ; CHECK: !prof !3 @@ -202,7 +202,7 @@ entry: ] sw.bb: ; preds = %entry, %entry - %tmp1 = load i32* %x.addr, align 4 + %tmp1 = load i32, i32* %x.addr, align 4 store i32 %tmp1, i32* %retval br label %return @@ -211,7 +211,7 @@ sw.epilog: ; preds = %entry br label %return return: ; preds = %sw.epilog, %sw.bb - %0 = load i32* %retval + %0 = load i32, i32* %retval ret i32 %0 } @@ -221,7 +221,7 @@ entry: %retval = alloca i32, align 4 %x.addr = alloca i32, align 4 store i32 %x, i32* %x.addr, align 4 - %tmp = load i32* %x.addr, align 4 + %tmp = load i32, i32* %x.addr, align 4 %cmp = icmp sgt i32 %tmp, 1 %conv = zext i1 %cmp to i32 %expval = call i32 @llvm.expect.i32(i32 %conv, i32 1) @@ -240,7 +240,7 @@ if.end: ; preds = %entry br label %return return: ; preds = %if.end, %if.then - %0 = load i32* %retval + %0 = load i32, i32* %retval ret i32 %0 } @@ -252,7 +252,7 @@ entry: %retval = alloca i32, align 4 %x.addr = alloca i32, align 4 store i32 %x, i32* %x.addr, align 4 - %tmp = load i32* %x.addr, align 4 + %tmp = load i32, i32* %x.addr, align 4 %cmp = icmp sgt i32 %tmp, 1 %expval = call i1 @llvm.expect.i1(i1 %cmp, i1 1) ; CHECK: !prof !0 @@ -269,7 +269,7 @@ if.end: ; preds = %entry br label %return return: ; preds = %if.end, %if.then - %0 = load i32* %retval + %0 = load i32, i32* %retval ret i32 %0 } |