diff options
Diffstat (limited to 'test/CodeGen/SystemZ/int-cmp-48.ll')
-rw-r--r-- | test/CodeGen/SystemZ/int-cmp-48.ll | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/test/CodeGen/SystemZ/int-cmp-48.ll b/test/CodeGen/SystemZ/int-cmp-48.ll index d7c6370..e266947 100644 --- a/test/CodeGen/SystemZ/int-cmp-48.ll +++ b/test/CodeGen/SystemZ/int-cmp-48.ll @@ -11,7 +11,7 @@ define void @f1(i8 *%src) { ; CHECK: je {{\.L.*}} ; CHECK: br %r14 entry: - %byte = load i8 *%src + %byte = load i8 , i8 *%src %and = and i8 %byte, 1 %cmp = icmp eq i8 %and, 0 br i1 %cmp, label %exit, label %store @@ -34,7 +34,7 @@ define void @f2(i8 *%src) { ; CHECK: je {{\.L.*}} ; CHECK: br %r14 entry: - %byte = load i8 *%src + %byte = load i8 , i8 *%src store i8 0, i8 *%src %and = and i8 %byte, 1 %cmp = icmp eq i8 %and, 0 @@ -54,7 +54,7 @@ define double @f3(i8 *%src, double %a, double %b) { ; CHECK: tm 0(%r2), 1 ; CHECK: je {{\.L.*}} ; CHECK: br %r14 - %byte = load i8 *%src + %byte = load i8 , i8 *%src %and = and i8 %byte, 1 %cmp = icmp eq i8 %and, 0 %res = select i1 %cmp, double %b, double %a @@ -68,7 +68,7 @@ define double @f4(i8 *%src, double %a, double %b) { ; CHECK: je {{\.L.*}} ; CHECK: mvi 0(%r2), 0 ; CHECK: br %r14 - %byte = load i8 *%src + %byte = load i8 , i8 *%src %and = and i8 %byte, 1 %cmp = icmp eq i8 %and, 0 %res = select i1 %cmp, double %b, double %a @@ -82,7 +82,7 @@ define double @f5(i8 *%src, double %a, double %b) { ; CHECK: tm 0(%r2), 1 ; CHECK: jne {{\.L.*}} ; CHECK: br %r14 - %byte = load i8 *%src + %byte = load i8 , i8 *%src %and = and i8 %byte, 1 %cmp = icmp ne i8 %and, 0 %res = select i1 %cmp, double %b, double %a @@ -95,7 +95,7 @@ define double @f6(i8 *%src, double %a, double %b) { ; CHECK: tm 0(%r2), 254 ; CHECK: jo {{\.L.*}} ; CHECK: br %r14 - %byte = load i8 *%src + %byte = load i8 , i8 *%src %and = and i8 %byte, 254 %cmp = icmp eq i8 %and, 254 %res = select i1 %cmp, double %b, double %a @@ -108,7 +108,7 @@ define double @f7(i8 *%src, double %a, double %b) { ; CHECK: tm 0(%r2), 254 ; CHECK: jno {{\.L.*}} ; CHECK: br %r14 - %byte = load i8 *%src + %byte = load i8 , i8 *%src %and = and i8 %byte, 254 %cmp = icmp ne i8 %and, 254 %res = select i1 %cmp, double %b, double %a @@ -123,7 +123,7 @@ define double @f8(i8 *%src, double %a, double %b) { ; CHECK: tmll [[REG]], 3 ; CHECK: jh {{\.L.*}} ; CHECK: br %r14 - %byte = load i8 *%src + %byte = load i8 , i8 *%src %and = and i8 %byte, 3 %cmp = icmp eq i8 %and, 2 %res = select i1 %cmp, double %b, double %a @@ -137,7 +137,7 @@ define double @f9(i8 *%src, double %a, double %b) { ; CHECK: tmll [[REG]], 3 ; CHECK: jl {{\.L.*}} ; CHECK: br %r14 - %byte = load i8 *%src + %byte = load i8 , i8 *%src %and = and i8 %byte, 3 %cmp = icmp eq i8 %and, 1 %res = select i1 %cmp, double %b, double %a @@ -150,8 +150,8 @@ define double @f10(i8 *%src, double %a, double %b) { ; CHECK: tm 4095(%r2), 1 ; CHECK: je {{\.L.*}} ; CHECK: br %r14 - %ptr = getelementptr i8 *%src, i64 4095 - %byte = load i8 *%ptr + %ptr = getelementptr i8, i8 *%src, i64 4095 + %byte = load i8 , i8 *%ptr %and = and i8 %byte, 1 %cmp = icmp eq i8 %and, 0 %res = select i1 %cmp, double %b, double %a @@ -164,8 +164,8 @@ define double @f11(i8 *%src, double %a, double %b) { ; CHECK: tmy 4096(%r2), 1 ; CHECK: je {{\.L.*}} ; CHECK: br %r14 - %ptr = getelementptr i8 *%src, i64 4096 - %byte = load i8 *%ptr + %ptr = getelementptr i8, i8 *%src, i64 4096 + %byte = load i8 , i8 *%ptr %and = and i8 %byte, 1 %cmp = icmp eq i8 %and, 0 %res = select i1 %cmp, double %b, double %a @@ -178,8 +178,8 @@ define double @f12(i8 *%src, double %a, double %b) { ; CHECK: tmy 524287(%r2), 1 ; CHECK: je {{\.L.*}} ; CHECK: br %r14 - %ptr = getelementptr i8 *%src, i64 524287 - %byte = load i8 *%ptr + %ptr = getelementptr i8, i8 *%src, i64 524287 + %byte = load i8 , i8 *%ptr %and = and i8 %byte, 1 %cmp = icmp eq i8 %and, 0 %res = select i1 %cmp, double %b, double %a @@ -193,8 +193,8 @@ define double @f13(i8 *%src, double %a, double %b) { ; CHECK: tm 0(%r2), 1 ; CHECK: je {{\.L.*}} ; CHECK: br %r14 - %ptr = getelementptr i8 *%src, i64 524288 - %byte = load i8 *%ptr + %ptr = getelementptr i8, i8 *%src, i64 524288 + %byte = load i8 , i8 *%ptr %and = and i8 %byte, 1 %cmp = icmp eq i8 %and, 0 %res = select i1 %cmp, double %b, double %a @@ -207,8 +207,8 @@ define double @f14(i8 *%src, double %a, double %b) { ; CHECK: tmy -524288(%r2), 1 ; CHECK: je {{\.L.*}} ; CHECK: br %r14 - %ptr = getelementptr i8 *%src, i64 -524288 - %byte = load i8 *%ptr + %ptr = getelementptr i8, i8 *%src, i64 -524288 + %byte = load i8 , i8 *%ptr %and = and i8 %byte, 1 %cmp = icmp eq i8 %and, 0 %res = select i1 %cmp, double %b, double %a @@ -222,8 +222,8 @@ define double @f15(i8 *%src, double %a, double %b) { ; CHECK: tm 0(%r2), 1 ; CHECK: je {{\.L.*}} ; CHECK: br %r14 - %ptr = getelementptr i8 *%src, i64 -524289 - %byte = load i8 *%ptr + %ptr = getelementptr i8, i8 *%src, i64 -524289 + %byte = load i8 , i8 *%ptr %and = and i8 %byte, 1 %cmp = icmp eq i8 %and, 0 %res = select i1 %cmp, double %b, double %a @@ -236,8 +236,8 @@ define double @f16(i8 *%src, i64 %index, double %a, double %b) { ; CHECK: tm 0({{%r[1-5]}}), 1 ; CHECK: je {{\.L.*}} ; CHECK: br %r14 - %ptr = getelementptr i8 *%src, i64 %index - %byte = load i8 *%ptr + %ptr = getelementptr i8, i8 *%src, i64 %index + %byte = load i8 , i8 *%ptr %and = and i8 %byte, 1 %cmp = icmp eq i8 %and, 0 %res = select i1 %cmp, double %b, double %a |