summaryrefslogtreecommitdiff
path: root/test/TableGen
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2009-06-09 18:31:17 +0000
committerDavid Greene <greened@obbligato.org>2009-06-09 18:31:17 +0000
commitffc0ab6037aa45bc22f57433148e5f586843b3a7 (patch)
tree82a5b51a50bfe0fe8fdd9db008d88bcb29dac148 /test/TableGen
parent92fcdcac543653a62949fe9e5a7bd008500c1380 (diff)
downloadllvm-ffc0ab6037aa45bc22f57433148e5f586843b3a7.tar.gz
llvm-ffc0ab6037aa45bc22f57433148e5f586843b3a7.tar.bz2
llvm-ffc0ab6037aa45bc22f57433148e5f586843b3a7.tar.xz
Revert 73074 and 73099 because Windows doesn't have POSIX
regular expressions. We will add an OpenBSD implementation and re-apply ASAP. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73138 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/TableGen')
-rw-r--r--test/TableGen/patsubst.td15
-rw-r--r--test/TableGen/regmatch.td11
2 files changed, 0 insertions, 26 deletions
diff --git a/test/TableGen/patsubst.td b/test/TableGen/patsubst.td
index 0a7b3d8219..e69de29bb2 100644
--- a/test/TableGen/patsubst.td
+++ b/test/TableGen/patsubst.td
@@ -1,15 +0,0 @@
-// RUN: tblgen %s | grep {Match1 = "v4f32"} | count 1
-// RUN: tblgen %s | grep {Match2 = "v2f64"} | count 1
-// RUN: tblgen %s | grep {Match3 = "v4f32 add"} | count 1
-// RUN: tblgen %s | grep {Match4 = "v2f64 add"} | count 1
-
-class Foo<string v> {
- string Value = v;
- string Match1 = !patsubst(".*ps$", "v4f32", v);
- string Match2 = !patsubst(".*pd$", "v2f64", v);
- string Match3 = !patsubst("(.*)ps$", "v4f32 $1", v);
- string Match4 = !patsubst("(.*)pd$", "v2f64 $1", v);
-}
-
-def Bar : Foo<"addps">;
-def Baz : Foo<"addpd">;
diff --git a/test/TableGen/regmatch.td b/test/TableGen/regmatch.td
index 3eb35df41c..e69de29bb2 100644
--- a/test/TableGen/regmatch.td
+++ b/test/TableGen/regmatch.td
@@ -1,11 +0,0 @@
-// RUN: tblgen %s | grep {Match1 = 1} | count 1
-// RUN: tblgen %s | grep {Match2 = 1} | count 1
-
-class Foo<string v> {
- string Value = v;
- int Match1 = !regmatch(".*ps$", v);
- int Match2 = !regmatch(".*pd$", v);
-}
-
-def Bar : Foo<"addps">;
-def Baz : Foo<"addpd">;