diff options
author | Pirama Arumuga Nainar <pirama@google.com> | 2015-04-10 22:08:18 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-04-10 22:08:18 +0000 |
commit | 13a7db5b9c4f5e543d037be68ec3428216bfd550 (patch) | |
tree | 1b2c9792582e12f5af0b1512e3094425f0dc0df9 /test/CodeGen/SystemZ/cond-load-01.ll | |
parent | 0eb46f5d1e06a4284663d636a74b06adc3a161d7 (diff) | |
parent | 31195f0bdca6ee2a5e72d07edf13e1d81206d949 (diff) | |
download | external_llvm-13a7db5b9c4f5e543d037be68ec3428216bfd550.zip external_llvm-13a7db5b9c4f5e543d037be68ec3428216bfd550.tar.gz external_llvm-13a7db5b9c4f5e543d037be68ec3428216bfd550.tar.bz2 |
am 31195f0b: Merge "Update aosp/master llvm for rebase to r233350"
* commit '31195f0bdca6ee2a5e72d07edf13e1d81206d949':
Update aosp/master llvm for rebase to r233350
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: |