There's no need to be so picky about the particular register.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133189 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nick Lewycky 2011-06-16 21:00:00 +00:00
parent 0860d0ba2f
commit d61f84ee65

View File

@ -34,8 +34,8 @@ define void @test3(i8 %x) nounwind readnone {
ret void
}
; CHECK: test3
; CHECK: movzbl 16(%esp), %eax
; CHECK-NEXT: movl %eax, 4(%esp)
; CHECK-NEXT: andl $224, %eax
; CHECK-NEXT: movl %eax, (%esp)
; CHECK: movzbl 16(%esp), [[REGISTER:%e[a-z]{2}]]
; CHECK-NEXT: movl [[REGISTER]], 4(%esp)
; CHECK-NEXT: andl $224, [[REGISTER]]
; CHECK-NEXT: movl [[REGISTER]], (%esp)
; CHECK-NEXT: call{{.*}}use