Skip to content

Commit

Permalink
[mlir] Convert tests to check 'target=...'
Browse files Browse the repository at this point in the history
Part of the project to eliminate special handling for triples in lit
expressions.
  • Loading branch information
pogo59 committed Dec 15, 2022
1 parent 3db65da commit 977c6f7
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion 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]]);
Expand Down
2 changes: 1 addition & 1 deletion 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]]);
Expand Down
2 changes: 1 addition & 1 deletion mlir/test/Examples/standalone/test.toy
Expand Up @@ -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).*}}
2 changes: 1 addition & 1 deletion mlir/test/Integration/Dialect/Complex/CPU/correctness.mlir
Expand Up @@ -9,7 +9,7 @@
// RUN: -shared-libs=%mlir_lib_dir/libmlir_c_runner_utils%shlibext |\
// RUN: FileCheck %s

// XFAIL: aarch64
// XFAIL: target=aarch64{{.*}}
// See: https://github.com/llvm/llvm-project/issues/58531

func.func @test_unary(%input: tensor<?xcomplex<f32>>,
Expand Down
Expand Up @@ -15,7 +15,7 @@
// REDEFINE: %{option} = "enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true"
// RUN: %{command}

// UNSUPPORTED: aarch64
// UNSUPPORTED: target=aarch64{{.*}}

#SparseVector = #sparse_tensor.encoding<{dimLevelType = ["compressed"]}>
#DenseVector = #sparse_tensor.encoding<{dimLevelType = ["dense"]}>
Expand Down
Expand Up @@ -15,7 +15,7 @@
// REDEFINE: %{option} = "enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true"
// RUN: %{command}

// UNSUPPORTED: aarch64
// UNSUPPORTED: target=aarch64{{.*}}

!Filename = !llvm.ptr<i8>

Expand Down

0 comments on commit 977c6f7

Please sign in to comment.