diff options
Diffstat (limited to 'test/CodeGen/SystemZ/int-cmp-33.ll')
-rw-r--r-- | test/CodeGen/SystemZ/int-cmp-33.ll | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/test/CodeGen/SystemZ/int-cmp-33.ll b/test/CodeGen/SystemZ/int-cmp-33.ll index e5a653b..94f3e70 100644 --- a/test/CodeGen/SystemZ/int-cmp-33.ll +++ b/test/CodeGen/SystemZ/int-cmp-33.ll @@ -10,7 +10,7 @@ define double @f1(double %a, double %b, i32 *%ptr) { ; CHECK-NEXT: jh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 - %val = load i32 *%ptr + %val = load i32 , i32 *%ptr %cond = icmp ugt i32 %val, 1 %res = select i1 %cond, double %a, double %b ret double %res @@ -23,7 +23,7 @@ define double @f2(double %a, double %b, i32 *%ptr) { ; CHECK-NEXT: jl ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 - %val = load i32 *%ptr + %val = load i32 , i32 *%ptr %cond = icmp ult i32 %val, 65535 %res = select i1 %cond, double %a, double %b ret double %res @@ -34,7 +34,7 @@ define double @f3(double %a, double %b, i32 *%ptr) { ; CHECK-LABEL: f3: ; CHECK-NOT: clfhsi ; CHECK: br %r14 - %val = load i32 *%ptr + %val = load i32 , i32 *%ptr %cond = icmp ult i32 %val, 65536 %res = select i1 %cond, double %a, double %b ret double %res @@ -48,7 +48,7 @@ define double @f4(double %a, double %b, i32 *%ptr) { ; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 - %val = load i32 *%ptr + %val = load i32 , i32 *%ptr %cond = icmp eq i32 %val, 32768 %res = select i1 %cond, double %a, double %b ret double %res @@ -61,7 +61,7 @@ define double @f5(double %a, double %b, i32 *%ptr) { ; CHECK-NEXT: je ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 - %val = load i32 *%ptr + %val = load i32 , i32 *%ptr %cond = icmp eq i32 %val, 65535 %res = select i1 %cond, double %a, double %b ret double %res @@ -72,7 +72,7 @@ define double @f6(double %a, double %b, i32 *%ptr) { ; CHECK-LABEL: f6: ; CHECK-NOT: clfhsi ; CHECK: br %r14 - %val = load i32 *%ptr + %val = load i32 , i32 *%ptr %cond = icmp eq i32 %val, 65536 %res = select i1 %cond, double %a, double %b ret double %res @@ -85,8 +85,8 @@ define double @f7(double %a, double %b, i32 %i1, i32 *%base) { ; CHECK-NEXT: jh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 - %ptr = getelementptr i32 *%base, i64 1023 - %val = load i32 *%ptr + %ptr = getelementptr i32, i32 *%base, i64 1023 + %val = load i32 , i32 *%ptr %cond = icmp ugt i32 %val, 1 %res = select i1 %cond, double %a, double %b ret double %res @@ -100,8 +100,8 @@ define double @f8(double %a, double %b, i32 *%base) { ; CHECK-NEXT: jh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 - %ptr = getelementptr i32 *%base, i64 1024 - %val = load i32 *%ptr + %ptr = getelementptr i32, i32 *%base, i64 1024 + %val = load i32 , i32 *%ptr %cond = icmp ugt i32 %val, 1 %res = select i1 %cond, double %a, double %b ret double %res @@ -115,8 +115,8 @@ define double @f9(double %a, double %b, i32 *%base) { ; CHECK-NEXT: jh ; CHECK: ldr %f0, %f2 ; CHECK: br %r14 - %ptr = getelementptr i32 *%base, i64 -1 - %val = load i32 *%ptr + %ptr = getelementptr i32, i32 *%base, i64 -1 + %val = load i32 , i32 *%ptr %cond = icmp ugt i32 %val, 1 %res = select i1 %cond, double %a, double %b ret double %res @@ -132,7 +132,7 @@ define double @f10(double %a, double %b, i64 %base, i64 %index) { ; CHECK: br %r14 %add = add i64 %base, %index %ptr = inttoptr i64 %add to i32 * - %val = load i32 *%ptr + %val = load i32 , i32 *%ptr %cond = icmp ugt i32 %val, 1 %res = select i1 %cond, double %a, double %b ret double %res |