summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-09-25 17:23:43 +0000
committerChris Lattner <sabre@nondot.org>2009-09-25 17:23:43 +0000
commitb16ab0c40a642f07731a66041343c389b394a23d (patch)
tree104f165e52eab1d452a7dda8ff33bea6f98d4284 /llvm/test/CodeGen
parentc72134269f27f775b49063a9c4f1ff8736ce9eec (diff)
downloadbcm5719-llvm-b16ab0c40a642f07731a66041343c389b394a23d.tar.gz
bcm5719-llvm-b16ab0c40a642f07731a66041343c389b394a23d.zip
reimplement the regex matching strategy by building a single
regex and matching it instead of trying to match chunks at a time. Matching chunks at a time broke with check lines like CHECK: foo {{.*}}bar because the .* would eat the entire rest of the line and bar would never match. Now we just escape the fixed strings for the user, so that something like: CHECK: a() {{.*}}??? is matched as: CHECK: {{a\(\) .*\?\?\?}} transparently "under the covers". llvm-svn: 82779
Diffstat (limited to 'llvm/test/CodeGen')
-rw-r--r--llvm/test/CodeGen/X86/xor.ll16
1 files changed, 8 insertions, 8 deletions
diff --git a/llvm/test/CodeGen/X86/xor.ll b/llvm/test/CodeGen/X86/xor.ll
index 86ecbe5ec7e..af263f95b8d 100644
--- a/llvm/test/CodeGen/X86/xor.ll
+++ b/llvm/test/CodeGen/X86/xor.ll
@@ -59,10 +59,10 @@ bb12:
; X64: test4:
; X64: notl %eax
-; X64: andl {{.*%eax}}
+; X64: andl {{.*}}%eax
; X32: test4:
; X32: notl %edx
-; X32: andl {{.*%edx}}
+; X32: andl {{.*}}%edx
}
define i16 @test5(i16 %a, i16 %b) nounwind {
@@ -81,10 +81,10 @@ bb12:
ret i16 %tmp3
; X64: test5:
; X64: notw %ax
-; X64: andw {{.*%ax}}
+; X64: andw {{.*}}%ax
; X32: test5:
; X32: notw %dx
-; X32: andw {{.*%dx}}
+; X32: andw {{.*}}%dx
}
define i8 @test6(i8 %a, i8 %b) nounwind {
@@ -103,10 +103,10 @@ bb12:
ret i8 %tmp3
; X64: test6:
; X64: notb %al
-; X64: andb {{.*%al}}
+; X64: andb {{.*}}%al
; X32: test6:
; X32: notb %dl
-; X32: andb {{.*%dl}}
+; X32: andb {{.*}}%dl
}
define i32 @test7(i32 %a, i32 %b) nounwind {
@@ -125,9 +125,9 @@ bb12:
ret i32 %tmp3
; X64: test7:
; X64: xorl $2147483646, %eax
-; X64: andl {{.*%eax}}
+; X64: andl {{.*}}%eax
; X32: test7:
; X32: xorl $2147483646, %edx
-; X32: andl {{.*%edx}}
+; X32: andl {{.*}}%edx
}
OpenPOWER on IntegriCloud