summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit58a6b76cfdae90f34b3c650e607d0cd8759e0814 (patch)
treebdcd226d5bc71f0222ffa06171472a818de8ced7 /llvm/test/TableGen
parentb8597bd097d46cebbe2602ddde4978f0f42aa27f (diff)
downloadbcm5719-llvm-58a6b76cfdae90f34b3c650e607d0cd8759e0814.tar.gz
bcm5719-llvm-58a6b76cfdae90f34b3c650e607d0cd8759e0814.zip
Revert 73074 and 73099 because Windows doesn't have POSIX
regular expressions. We will add an OpenBSD implementation and re-apply ASAP. llvm-svn: 73138
Diffstat (limited to 'llvm/test/TableGen')
-rw-r--r--llvm/test/TableGen/patsubst.td15
-rw-r--r--llvm/test/TableGen/regmatch.td11
2 files changed, 0 insertions, 26 deletions
diff --git a/llvm/test/TableGen/patsubst.td b/llvm/test/TableGen/patsubst.td
index 0a7b3d8219d..e69de29bb2d 100644
--- a/llvm/test/TableGen/patsubst.td
+++ b/llvm/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/llvm/test/TableGen/regmatch.td b/llvm/test/TableGen/regmatch.td
index 3eb35df41c3..e69de29bb2d 100644
--- a/llvm/test/TableGen/regmatch.td
+++ b/llvm/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">;
OpenPOWER on IntegriCloud