[llvm-commits] [llvm] r114199 - /llvm/trunk/test/CodeGen/ARM/constants.ll

Jim Grosbach grosbach at apple.com
Fri Sep 17 13:17:41 PDT 2010


Author: grosbach
Date: Fri Sep 17 15:17:41 2010
New Revision: 114199

URL: http://llvm.org/viewvc/llvm-project?rev=114199&view=rev
Log:
tweak test to check instructions rather than relying on the comment string

Modified:
    llvm/trunk/test/CodeGen/ARM/constants.ll

Modified: llvm/trunk/test/CodeGen/ARM/constants.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/constants.ll?rev=114199&r1=114198&r2=114199&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/constants.ll (original)
+++ llvm/trunk/test/CodeGen/ARM/constants.ll Fri Sep 17 15:17:41 2010
@@ -14,25 +14,25 @@
 
 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
 }
 





More information about the llvm-commits mailing list