diff options
Diffstat (limited to 'test/CodeGen/SystemZ/cond-load-01.ll')
-rw-r--r-- | test/CodeGen/SystemZ/cond-load-01.ll | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/test/CodeGen/SystemZ/cond-load-01.ll b/test/CodeGen/SystemZ/cond-load-01.ll index 1030226..97d4027 100644 --- a/test/CodeGen/SystemZ/cond-load-01.ll +++ b/test/CodeGen/SystemZ/cond-load-01.ll @@ -11,7 +11,7 @@ define i32 @f1(i32 %easy, i32 *%ptr, i32 %limit) { ; CHECK: loche %r2, 0(%r3) ; CHECK: br %r14 %cond = icmp ult i32 %limit, 42 - %other = load i32 *%ptr + %other = load i32 , i32 *%ptr %res = select i1 %cond, i32 %easy, i32 %other ret i32 %res } @@ -23,7 +23,7 @@ define i32 @f2(i32 %easy, i32 *%ptr, i32 %limit) { ; CHECK: locl %r2, 0(%r3) ; CHECK: br %r14 %cond = icmp ult i32 %limit, 42 - %other = load i32 *%ptr + %other = load i32 , i32 *%ptr %res = select i1 %cond, i32 %other, i32 %easy ret i32 %res } @@ -34,9 +34,9 @@ define i32 @f3(i32 %easy, i32 *%base, i32 %limit) { ; CHECK: clfi %r4, 42 ; CHECK: loche %r2, 524284(%r3) ; CHECK: br %r14 - %ptr = getelementptr i32 *%base, i64 131071 + %ptr = getelementptr i32, i32 *%base, i64 131071 %cond = icmp ult i32 %limit, 42 - %other = load i32 *%ptr + %other = load i32 , i32 *%ptr %res = select i1 %cond, i32 %easy, i32 %other ret i32 %res } @@ -48,9 +48,9 @@ define i32 @f4(i32 %easy, i32 *%base, i32 %limit) { ; CHECK: clfi %r4, 42 ; CHECK: loche %r2, 0(%r3) ; CHECK: br %r14 - %ptr = getelementptr i32 *%base, i64 131072 + %ptr = getelementptr i32, i32 *%base, i64 131072 %cond = icmp ult i32 %limit, 42 - %other = load i32 *%ptr + %other = load i32 , i32 *%ptr %res = select i1 %cond, i32 %easy, i32 %other ret i32 %res } @@ -61,9 +61,9 @@ define i32 @f5(i32 %easy, i32 *%base, i32 %limit) { ; CHECK: clfi %r4, 42 ; CHECK: loche %r2, -524288(%r3) ; CHECK: br %r14 - %ptr = getelementptr i32 *%base, i64 -131072 + %ptr = getelementptr i32, i32 *%base, i64 -131072 %cond = icmp ult i32 %limit, 42 - %other = load i32 *%ptr + %other = load i32 , i32 *%ptr %res = select i1 %cond, i32 %easy, i32 %other ret i32 %res } @@ -75,9 +75,9 @@ define i32 @f6(i32 %easy, i32 *%base, i32 %limit) { ; CHECK: clfi %r4, 42 ; CHECK: loche %r2, 0(%r3) ; CHECK: br %r14 - %ptr = getelementptr i32 *%base, i64 -131073 + %ptr = getelementptr i32, i32 *%base, i64 -131073 %cond = icmp ult i32 %limit, 42 - %other = load i32 *%ptr + %other = load i32 , i32 *%ptr %res = select i1 %cond, i32 %easy, i32 %other ret i32 %res } @@ -91,7 +91,7 @@ define i32 @f7(i32 %alt, i32 %limit) { %ptr = alloca i32 %easy = call i32 @foo(i32 *%ptr) %cond = icmp ult i32 %limit, 42 - %other = load i32 *%ptr + %other = load i32 , i32 *%ptr %res = select i1 %cond, i32 %easy, i32 %other ret i32 %res } @@ -105,7 +105,7 @@ define i32 @f8(i32 %easy, i32 %limit, i64 %base, i64 %index) { %add = add i64 %base, %index %ptr = inttoptr i64 %add to i32 * %cond = icmp ult i32 %limit, 42 - %other = load i32 *%ptr + %other = load i32 , i32 *%ptr %res = select i1 %cond, i32 %easy, i32 %other ret i32 %res } @@ -121,7 +121,7 @@ entry: br i1 %cmp, label %load, label %exit load: - %other = load i32 *%ptr + %other = load i32 , i32 *%ptr br label %exit exit: |