diff options
Diffstat (limited to 'test/CodeGen/SystemZ/int-cmp-30.ll')
-rw-r--r-- | test/CodeGen/SystemZ/int-cmp-30.ll | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/test/CodeGen/SystemZ/int-cmp-30.ll b/test/CodeGen/SystemZ/int-cmp-30.ll index 6c9498c..043ff48 100644 --- a/test/CodeGen/SystemZ/int-cmp-30.ll +++ b/test/CodeGen/SystemZ/int-cmp-30.ll @@ -10,7 +10,7 @@ define double @f1(double %a, double %b, i16 *%ptr) { ; CHECK: clhhsi 0(%r2), 1 ; CHECK-NEXT: jh ; CHECK: br %r14 - %val = load i16 *%ptr + %val = load i16 , i16 *%ptr %ext = zext i16 %val to i32 %cond = icmp ugt i32 %ext, 1 %res = select i1 %cond, double %a, double %b @@ -24,7 +24,7 @@ define double @f2(double %a, double %b, i16 *%ptr) { ; CHECK: clhhsi 0(%r2), 1 ; CHECK-NEXT: jh ; CHECK: br %r14 - %val = load i16 *%ptr + %val = load i16 , i16 *%ptr %ext = sext i16 %val to i32 %cond = icmp ugt i32 %ext, 1 %res = select i1 %cond, double %a, double %b @@ -38,7 +38,7 @@ define double @f3(double %a, double %b, i16 *%ptr) { ; CHECK: clhhsi 0(%r2), 65534 ; CHECK-NEXT: jl ; CHECK: br %r14 - %val = load i16 *%ptr + %val = load i16 , i16 *%ptr %ext = zext i16 %val to i32 %cond = icmp ult i32 %ext, 65534 %res = select i1 %cond, double %a, double %b @@ -52,7 +52,7 @@ define double @f4(double %a, double %b, i16 *%ptr) { ; CHECK: clhhsi 0(%r2), 65534 ; CHECK-NEXT: jl ; CHECK: br %r14 - %val = load i16 *%ptr + %val = load i16 , i16 *%ptr %ext = sext i16 %val to i32 %cond = icmp ult i32 %ext, -2 %res = select i1 %cond, double %a, double %b @@ -65,7 +65,7 @@ define double @f5(double %a, double %b, i16 *%ptr) { ; CHECK-LABEL: f5: ; CHECK-NOT: clhhsi ; CHECK: br %r14 - %val = load i16 *%ptr + %val = load i16 , i16 *%ptr %ext = zext i16 %val to i32 %cond = icmp ult i32 %ext, 65536 %res = select i1 %cond, double %a, double %b @@ -82,7 +82,7 @@ define double @f6(double %a, double %b, i16 *%ptr) { ; CHECK-LABEL: f6: ; CHECK-NOT: clhhsi ; CHECK: br %r14 - %val = load i16 *%ptr + %val = load i16 , i16 *%ptr %ext = sext i16 %val to i32 %cond = icmp ult i32 %ext, 32768 %res = select i1 %cond, double %a, double %b @@ -94,7 +94,7 @@ define double @f7(double %a, double %b, i16 *%ptr) { ; CHECK-LABEL: f7: ; CHECK-NOT: clhhsi ; CHECK: br %r14 - %val = load i16 *%ptr + %val = load i16 , i16 *%ptr %ext = sext i16 %val to i32 %cond = icmp ult i32 %ext, -32769 %res = select i1 %cond, double %a, double %b @@ -108,7 +108,7 @@ define double @f8(double %a, double %b, i16 *%ptr) { ; CHECK: clhhsi 0(%r2), 1 ; CHECK-NEXT: jh ; CHECK: br %r14 - %val = load i16 *%ptr + %val = load i16 , i16 *%ptr %ext = zext i16 %val to i32 %cond = icmp sgt i32 %ext, 1 %res = select i1 %cond, double %a, double %b @@ -122,7 +122,7 @@ define double @f9(double %a, double %b, i16 *%ptr) { ; CHECK: chhsi 0(%r2), 1 ; CHECK-NEXT: jh ; CHECK: br %r14 - %val = load i16 *%ptr + %val = load i16 , i16 *%ptr %ext = sext i16 %val to i32 %cond = icmp sgt i32 %ext, 1 %res = select i1 %cond, double %a, double %b @@ -136,7 +136,7 @@ define double @f10(double %a, double %b, i16 *%ptr) { ; CHECK: clhhsi 0(%r2), 65534 ; CHECK-NEXT: jl ; CHECK: br %r14 - %val = load i16 *%ptr + %val = load i16 , i16 *%ptr %ext = zext i16 %val to i32 %cond = icmp slt i32 %ext, 65534 %res = select i1 %cond, double %a, double %b @@ -150,7 +150,7 @@ define double @f11(double %a, double %b, i16 *%ptr) { ; CHECK: chhsi 0(%r2), -2 ; CHECK-NEXT: jl ; CHECK: br %r14 - %val = load i16 *%ptr + %val = load i16 , i16 *%ptr %ext = sext i16 %val to i32 %cond = icmp slt i32 %ext, -2 %res = select i1 %cond, double %a, double %b @@ -163,7 +163,7 @@ define double @f12(double %a, double %b, i16 *%ptr) { ; CHECK-LABEL: f12: ; CHECK-NOT: cli ; CHECK: br %r14 - %val = load i16 *%ptr + %val = load i16 , i16 *%ptr %ext = zext i16 %val to i32 %cond = icmp slt i32 %ext, 65536 %res = select i1 %cond, double %a, double %b @@ -177,7 +177,7 @@ define double @f13(double %a, double %b, i16 *%ptr) { ; CHECK: chhsi 0(%r2), 32766 ; CHECK-NEXT: jl ; CHECK: br %r14 - %val = load i16 *%ptr + %val = load i16 , i16 *%ptr %ext = sext i16 %val to i32 %cond = icmp slt i32 %ext, 32766 %res = select i1 %cond, double %a, double %b @@ -190,7 +190,7 @@ define double @f14(double %a, double %b, i16 *%ptr) { ; CHECK-LABEL: f14: ; CHECK-NOT: chhsi ; CHECK: br %r14 - %val = load i16 *%ptr + %val = load i16 , i16 *%ptr %ext = sext i16 %val to i32 %cond = icmp slt i32 %ext, 32768 %res = select i1 %cond, double %a, double %b @@ -204,7 +204,7 @@ define double @f15(double %a, double %b, i16 *%ptr) { ; CHECK: chhsi 0(%r2), -32767 ; CHECK-NEXT: jh ; CHECK: br %r14 - %val = load i16 *%ptr + %val = load i16 , i16 *%ptr %ext = sext i16 %val to i32 %cond = icmp sgt i32 %ext, -32767 %res = select i1 %cond, double %a, double %b @@ -217,7 +217,7 @@ define double @f16(double %a, double %b, i16 *%ptr) { ; CHECK-LABEL: f16: ; CHECK-NOT: chhsi ; CHECK: br %r14 - %val = load i16 *%ptr + %val = load i16 , i16 *%ptr %ext = sext i16 %val to i32 %cond = icmp sgt i32 %ext, -32769 %res = select i1 %cond, double %a, double %b |