summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/constants.ll
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2010-09-17 20:17:41 +0000
committerJim Grosbach <grosbach@apple.com>2010-09-17 20:17:41 +0000
commitc18a460adc3fa7db9539411d2d00fd547880fad1 (patch)
tree0d5420bcb63aba37af8353dadf4c8ec13d84be9b /llvm/test/CodeGen/ARM/constants.ll
parent695312637c9a9090b564c1cb9c75d30aacaecc41 (diff)
downloadbcm5719-llvm-c18a460adc3fa7db9539411d2d00fd547880fad1.tar.gz
bcm5719-llvm-c18a460adc3fa7db9539411d2d00fd547880fad1.zip
tweak test to check instructions rather than relying on the comment string
llvm-svn: 114199
Diffstat (limited to 'llvm/test/CodeGen/ARM/constants.ll')
-rw-r--r--llvm/test/CodeGen/ARM/constants.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/ARM/constants.ll b/llvm/test/CodeGen/ARM/constants.ll
index ce919361619..c10982fc35b 100644
--- a/llvm/test/CodeGen/ARM/constants.ll
+++ b/llvm/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
}
OpenPOWER on IntegriCloud