tweak test to check instructions rather than relying on the comment string

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114204 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jim Grosbach 2010-09-17 20:27:26 +00:00
parent 4e51a12ed7
commit c0911c3b3e

View File

@ -14,22 +14,22 @@ entry:
define i64 @f3() {
; CHECK: f3:
; CHECK: mvn{{.*}}-2147483648
; CHECK: mvn r0, #2, 2
entry:
ret i64 2147483647
}
define i64 @f4() {
; CHECK: f4:
; CHECK: -2147483648
; CHECK: mov r0, #2, 2
entry:
ret i64 2147483648
}
define i64 @f5() {
; CHECK: f5:
; CHECK: mvn
; CHECK: mvn{{.*}}-2147483648
; CHECK: mvn r0, #0
; CHECK: mvn r1, #2, 2
entry:
ret i64 9223372036854775807
}