diff options
Diffstat (limited to 'test/CodeGen/SystemZ/int-cmp-34.ll')
-rw-r--r-- | test/CodeGen/SystemZ/int-cmp-34.ll | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/test/CodeGen/SystemZ/int-cmp-34.ll b/test/CodeGen/SystemZ/int-cmp-34.ll index 8a02197..114b694 100644 --- a/test/CodeGen/SystemZ/int-cmp-34.ll +++ b/test/CodeGen/SystemZ/int-cmp-34.ll @@ -9,7 +9,7 @@ define double @f1(double %a, double %b, i64 *%ptr) { ; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 - %val = load i64 *%ptr + %val = load i64 , i64 *%ptr %cond = icmp slt i64 %val, 0 %res = select i1 %cond, double %a, double %b ret double %res @@ -22,7 +22,7 @@ define double @f2(double %a, double %b, i64 *%ptr) { ; CHECK-NEXT: jle ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 - %val = load i64 *%ptr + %val = load i64 , i64 *%ptr %cond = icmp slt i64 %val, 1 %res = select i1 %cond, double %a, double %b ret double %res @@ -35,7 +35,7 @@ define double @f3(double %a, double %b, i64 *%ptr) { ; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 - %val = load i64 *%ptr + %val = load i64 , i64 *%ptr %cond = icmp slt i64 %val, 32767 %res = select i1 %cond, double %a, double %b ret double %res @@ -46,7 +46,7 @@ define double @f4(double %a, double %b, i64 *%ptr) { ; CHECK-LABEL: f4: ; CHECK-NOT: cghsi ; CHECK: br %r14 - %val = load i64 *%ptr + %val = load i64 , i64 *%ptr %cond = icmp slt i64 %val, 32768 %res = select i1 %cond, double %a, double %b ret double %res @@ -59,7 +59,7 @@ define double @f5(double %a, double %b, i64 *%ptr) { ; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 - %val = load i64 *%ptr + %val = load i64 , i64 *%ptr %cond = icmp slt i64 %val, -1 %res = select i1 %cond, double %a, double %b ret double %res @@ -72,7 +72,7 @@ define double @f6(double %a, double %b, i64 *%ptr) { ; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 - %val = load i64 *%ptr + %val = load i64 , i64 *%ptr %cond = icmp slt i64 %val, -32768 %res = select i1 %cond, double %a, double %b ret double %res @@ -83,7 +83,7 @@ define double @f7(double %a, double %b, i64 *%ptr) { ; CHECK-LABEL: f7: ; CHECK-NOT: cghsi ; CHECK: br %r14 - %val = load i64 *%ptr + %val = load i64 , i64 *%ptr %cond = icmp slt i64 %val, -32769 %res = select i1 %cond, double %a, double %b ret double %res @@ -96,7 +96,7 @@ define double @f8(double %a, double %b, i64 *%ptr) { ; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 - %val = load i64 *%ptr + %val = load i64 , i64 *%ptr %cond = icmp eq i64 %val, 0 %res = select i1 %cond, double %a, double %b ret double %res @@ -109,7 +109,7 @@ define double @f9(double %a, double %b, i64 *%ptr) { ; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 - %val = load i64 *%ptr + %val = load i64 , i64 *%ptr %cond = icmp eq i64 %val, 1 %res = select i1 %cond, double %a, double %b ret double %res @@ -122,7 +122,7 @@ define double @f10(double %a, double %b, i64 *%ptr) { ; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 - %val = load i64 *%ptr + %val = load i64 , i64 *%ptr %cond = icmp eq i64 %val, 32767 %res = select i1 %cond, double %a, double %b ret double %res @@ -133,7 +133,7 @@ define double @f11(double %a, double %b, i64 *%ptr) { ; CHECK-LABEL: f11: ; CHECK-NOT: cghsi ; CHECK: br %r14 - %val = load i64 *%ptr + %val = load i64 , i64 *%ptr %cond = icmp eq i64 %val, 32768 %res = select i1 %cond, double %a, double %b ret double %res @@ -146,7 +146,7 @@ define double @f12(double %a, double %b, i64 *%ptr) { ; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 - %val = load i64 *%ptr + %val = load i64 , i64 *%ptr %cond = icmp eq i64 %val, -1 %res = select i1 %cond, double %a, double %b ret double %res @@ -159,7 +159,7 @@ define double @f13(double %a, double %b, i64 *%ptr) { ; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 - %val = load i64 *%ptr + %val = load i64 , i64 *%ptr %cond = icmp eq i64 %val, -32768 %res = select i1 %cond, double %a, double %b ret double %res @@ -170,7 +170,7 @@ define double @f14(double %a, double %b, i64 *%ptr) { ; CHECK-LABEL: f14: ; CHECK-NOT: cghsi ; CHECK: br %r14 - %val = load i64 *%ptr + %val = load i64 , i64 *%ptr %cond = icmp eq i64 %val, -32769 %res = select i1 %cond, double %a, double %b ret double %res @@ -183,8 +183,8 @@ define double @f15(double %a, double %b, i64 %i1, i64 *%base) { ; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 - %ptr = getelementptr i64 *%base, i64 511 - %val = load i64 *%ptr + %ptr = getelementptr i64, i64 *%base, i64 511 + %val = load i64 , i64 *%ptr %cond = icmp slt i64 %val, 0 %res = select i1 %cond, double %a, double %b ret double %res @@ -198,8 +198,8 @@ define double @f16(double %a, double %b, i64 *%base) { ; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 - %ptr = getelementptr i64 *%base, i64 512 - %val = load i64 *%ptr + %ptr = getelementptr i64, i64 *%base, i64 512 + %val = load i64 , i64 *%ptr %cond = icmp slt i64 %val, 0 %res = select i1 %cond, double %a, double %b ret double %res @@ -213,8 +213,8 @@ define double @f17(double %a, double %b, i64 *%base) { ; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 - %ptr = getelementptr i64 *%base, i64 -1 - %val = load i64 *%ptr + %ptr = getelementptr i64, i64 *%base, i64 -1 + %val = load i64 , i64 *%ptr %cond = icmp slt i64 %val, 0 %res = select i1 %cond, double %a, double %b ret double %res @@ -230,7 +230,7 @@ define double @f18(double %a, double %b, i64 %base, i64 %index) { ; CHECK: br %r14 %add = add i64 %base, %index %ptr = inttoptr i64 %add to i64 * - %val = load i64 *%ptr + %val = load i64 , i64 *%ptr %cond = icmp slt i64 %val, 0 %res = select i1 %cond, double %a, double %b ret double %res |