diff options
author | Jim Grosbach <grosbach@apple.com> | 2010-09-17 20:17:41 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2010-09-17 20:17:41 +0000 |
commit | 48afc24274887ff95d1a5aaebf40058ff76f4be1 (patch) | |
tree | 8bd1faa16d61b1bd4a6d937386f54f08d738fec7 /test | |
parent | 80d6c96c2ac403e5994841de6b367ded9dbee99b (diff) | |
download | llvm-48afc24274887ff95d1a5aaebf40058ff76f4be1.tar.gz llvm-48afc24274887ff95d1a5aaebf40058ff76f4be1.tar.bz2 llvm-48afc24274887ff95d1a5aaebf40058ff76f4be1.tar.xz |
tweak test to check instructions rather than relying on the comment string
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114199 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/CodeGen/ARM/constants.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/ARM/constants.ll b/test/CodeGen/ARM/constants.ll index ce91936161..c10982fc35 100644 --- a/test/CodeGen/ARM/constants.ll +++ b/test/CodeGen/ARM/constants.ll @@ -14,25 +14,25 @@ define i32 @f2() { define i32 @f3() { ; CHECK: f3 -; CHECK: mov r0{{.*}}256 +; CHECK: mov r0, #1, 24 ret i32 256 } define i32 @f4() { ; CHECK: f4 -; CHECK: orr{{.*}}256 +; CHECK: orr{{.*}}#1, 24 ret i32 257 } define i32 @f5() { ; CHECK: f5 -; CHECK: mov r0, {{.*}}-1073741761 +; CHECK: mov r0, #255, 2 ret i32 -1073741761 } define i32 @f6() { ; CHECK: f6 -; CHECK: mov r0, {{.*}}1008 +; CHECK: mov r0, #63, 28 ret i32 1008 } |