aboutsummaryrefslogtreecommitdiff
path: root/mlir/test/Examples/Toy
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/Toy
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/Toy')
-rw-r--r--mlir/test/Examples/Toy/Ch6/jit.toy2
-rw-r--r--mlir/test/Examples/Toy/Ch7/jit.toy2
2 files changed, 2 insertions, 2 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]]);