summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2011-06-16 21:00:00 +0000
committerNick Lewycky <nicholas@mxc.ca>2011-06-16 21:00:00 +0000
commitd61f84ee651e28346abdbf11d01957b8e2fb9fc7 (patch)
tree5ab5c0eb09ff2dc72fe1e041bdb9ef9866a03b6c /test
parent0860d0ba2f14e62572434cd159a086f91b20895d (diff)
downloadllvm-d61f84ee651e28346abdbf11d01957b8e2fb9fc7.tar.gz
llvm-d61f84ee651e28346abdbf11d01957b8e2fb9fc7.tar.bz2
llvm-d61f84ee651e28346abdbf11d01957b8e2fb9fc7.tar.xz
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
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/X86/zext-fold.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/X86/zext-fold.ll b/test/CodeGen/X86/zext-fold.ll
index 2a7f06533f..b3f5cdbb88 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