Author: Eugene Zhulenev Date: 2020-12-16T11:07:03-08:00 New Revision: 900d71a851db5d50a52906c0146451b4b71cd85f
URL: https://github.com/llvm/llvm-project/commit/900d71a851db5d50a52906c0146451b4b71cd85f DIFF: https://github.com/llvm/llvm-project/commit/900d71a851db5d50a52906c0146451b4b71cd85f.diff LOG: [mlir] Async: re-enable tests after fixing fkakines Test flakiness was fixed by: https://github.com/llvm/llvm-project/commit/9edcedf7f222ce7c893d1e3bf19b3a7a1f0f2218 Runs these tests to verify that all parts of the lowering work correctly. Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D93384 Added: Modified: mlir/test/mlir-cpu-runner/async-group.mlir mlir/test/mlir-cpu-runner/async.mlir Removed: ################################################################################ diff --git a/mlir/test/mlir-cpu-runner/async-group.mlir b/mlir/test/mlir-cpu-runner/async-group.mlir index e7a07dc4f1ab..50f85ff54609 100644 --- a/mlir/test/mlir-cpu-runner/async-group.mlir +++ b/mlir/test/mlir-cpu-runner/async-group.mlir @@ -1,14 +1,12 @@ -// RUN: true -// TODO: re-enable when not flaky. -// _UN: mlir-opt %s -async-ref-counting \ -// _UN: -convert-async-to-llvm \ -// _UN: -convert-std-to-llvm \ -// _UN: | mlir-cpu-runner \ -// _UN: -e main -entry-point-result=void -O0 \ -// _UN: -shared-libs=%linalg_test_lib_dir/libmlir_c_runner_utils%shlibext \ -// _UN: -shared-libs=%linalg_test_lib_dir/libmlir_runner_utils%shlibext \ -// _UN: -shared-libs=%linalg_test_lib_dir/libmlir_async_runtime%shlibext \ -// _UN: | FileCheck %s +// RUN: mlir-opt %s -async-ref-counting \ +// RUN: -convert-async-to-llvm \ +// RUN: -convert-std-to-llvm \ +// RUN: | mlir-cpu-runner \ +// RUN: -e main -entry-point-result=void -O0 \ +// RUN: -shared-libs=%linalg_test_lib_dir/libmlir_c_runner_utils%shlibext \ +// RUN: -shared-libs=%linalg_test_lib_dir/libmlir_runner_utils%shlibext \ +// RUN: -shared-libs=%linalg_test_lib_dir/libmlir_async_runtime%shlibext \ +// RUN: | FileCheck %s func @main() { %group = async.create_group diff --git a/mlir/test/mlir-cpu-runner/async.mlir b/mlir/test/mlir-cpu-runner/async.mlir index 4546628e5969..5f06dd17ed61 100644 --- a/mlir/test/mlir-cpu-runner/async.mlir +++ b/mlir/test/mlir-cpu-runner/async.mlir @@ -1,16 +1,14 @@ -// RUN: true -// TODO: re-enable when not flaky. -// _UN: mlir-opt %s -async-ref-counting \ -// _UN: -convert-async-to-llvm \ -// _UN: -convert-linalg-to-loops \ -// _UN: -convert-linalg-to-llvm \ -// _UN: -convert-std-to-llvm \ -// _UN: | mlir-cpu-runner \ -// _UN: -e main -entry-point-result=void -O0 \ -// _UN: -shared-libs=%linalg_test_lib_dir/libmlir_c_runner_utils%shlibext \ -// _UN: -shared-libs=%linalg_test_lib_dir/libmlir_runner_utils%shlibext \ -// _UN: -shared-libs=%linalg_test_lib_dir/libmlir_async_runtime%shlibext \ -// _UN: | FileCheck %s +// RUN: mlir-opt %s -async-ref-counting \ +// RUN: -convert-async-to-llvm \ +// RUN: -convert-linalg-to-loops \ +// RUN: -convert-linalg-to-llvm \ +// RUN: -convert-std-to-llvm \ +// RUN: | mlir-cpu-runner \ +// RUN: -e main -entry-point-result=void -O0 \ +// RUN: -shared-libs=%linalg_test_lib_dir/libmlir_c_runner_utils%shlibext \ +// RUN: -shared-libs=%linalg_test_lib_dir/libmlir_runner_utils%shlibext \ +// RUN: -shared-libs=%linalg_test_lib_dir/libmlir_async_runtime%shlibext \ +// RUN: | FileCheck %s func @main() { %i0 = constant 0 : index _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits