From: Nick Lewycky Date: Thu, 16 Jun 2011 21:00:00 +0000 (+0000) Subject: There's no need to be so picky about the particular register. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=d61f84ee651e28346abdbf11d01957b8e2fb9fc7;p=oota-llvm.git 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 --- diff --git a/test/CodeGen/X86/zext-fold.ll b/test/CodeGen/X86/zext-fold.ll index 2a7f06533ff..b3f5cdbb88d 100644 --- a/test/CodeGen/X86/zext-fold.ll +++ b/test/CodeGen/X86/zext-fold.ll @@ -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