[mlir] Async: re-enable tests after fixing fkakines
authorEugene Zhulenev <ezhulenev@google.com>
Wed, 16 Dec 2020 10:17:53 +0000 (02:17 -0800)
committerEugene Zhulenev <ezhulenev@google.com>
Wed, 16 Dec 2020 19:07:03 +0000 (11:07 -0800)
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

mlir/test/mlir-cpu-runner/async-group.mlir
mlir/test/mlir-cpu-runner/async.mlir

index e7a07dc4f1ab1e0532478fb86322c2e56fc78ea0..50f85ff54609341fd12ef23d56164261eacb63e7 100644 (file)
@@ -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
index 4546628e596968c397e5694bedd980d0dfed44e1..5f06dd17ed6183a4eea5c6257246682b72a9282f 100644 (file)
@@ -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