aboutsummaryrefslogtreecommitdiff
path: root/mlir/test/Examples
diff options
context:
space:
mode:
authorPaul Robinson <paul.robinson@sony.com>2022-12-15 14:49:20 -0800
committerPaul Robinson <paul.robinson@sony.com>2022-12-15 14:49:54 -0800
commit977c6f786710770d4a673c1200b0c08ca25fe13c (patch)
tree02a248b70f4c29231452b6733b5dfcc5e9756280 /mlir/test/Examples
parent3db65daa4497beea217c2eb9929ed1f49ba8d40e (diff)
downloadllvm-977c6f786710770d4a673c1200b0c08ca25fe13c.zip
llvm-977c6f786710770d4a673c1200b0c08ca25fe13c.tar.gz
llvm-977c6f786710770d4a673c1200b0c08ca25fe13c.tar.bz2
[mlir] Convert tests to check 'target=...'
Part of the project to eliminate special handling for triples in lit expressions.
Diffstat (limited to 'mlir/test/Examples')
-rw-r--r--mlir/test/Examples/Toy/Ch6/jit.toy2
-rw-r--r--mlir/test/Examples/Toy/Ch7/jit.toy2
-rw-r--r--mlir/test/Examples/standalone/test.toy2
3 files changed, 3 insertions, 3 deletions
diff --git a/mlir/test/Examples/Toy/Ch6/jit.toy b/mlir/test/Examples/Toy/Ch6/jit.toy
index 387c045..c5be603 100644
--- a/mlir/test/Examples/Toy/Ch6/jit.toy
+++ b/mlir/test/Examples/Toy/Ch6/jit.toy
@@ -1,5 +1,5 @@
# RUN: toyc-ch6 -emit=jit %s
-# UNSUPPORTED: windows
+# UNSUPPORTED: target={{.*windows.*}}
def main() {
print([[1, 2], [3, 4]]);
diff --git a/mlir/test/Examples/Toy/Ch7/jit.toy b/mlir/test/Examples/Toy/Ch7/jit.toy
index 5310031..82469c7 100644
--- a/mlir/test/Examples/Toy/Ch7/jit.toy
+++ b/mlir/test/Examples/Toy/Ch7/jit.toy
@@ -1,5 +1,5 @@
# RUN: toyc-ch7 -emit=jit %s
-# UNSUPPORTED: windows
+# UNSUPPORTED: target={{.*windows.*}}
def main() {
print([[1, 2], [3, 4]]);
diff --git a/mlir/test/Examples/standalone/test.toy b/mlir/test/Examples/standalone/test.toy
index 3f5c5cb..0815729 100644
--- a/mlir/test/Examples/standalone/test.toy
+++ b/mlir/test/Examples/standalone/test.toy
@@ -8,4 +8,4 @@
# Note: The number of checked tests is not important. The command will fail
# if any fail.
# CHECK: Passed
-# UNSUPPORTED: windows, android
+# UNSUPPORTED: target={{.*(windows|android).*}}