Skip to content

Commit 900d71a

Browse files
committed
[mlir] Async: re-enable tests after fixing fkakines
Test flakiness was fixed by: llvm/llvm-project@9edcedf Runs these tests to verify that all parts of the lowering work correctly. Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D93384
1 parent 11f1027 commit 900d71a

File tree

2 files changed

+20
-24
lines changed

2 files changed

+20
-24
lines changed

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

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
1-
// RUN: true
2-
// TODO: re-enable when not flaky.
3-
// _UN: mlir-opt %s -async-ref-counting \
4-
// _UN: -convert-async-to-llvm \
5-
// _UN: -convert-std-to-llvm \
6-
// _UN: | mlir-cpu-runner \
7-
// _UN: -e main -entry-point-result=void -O0 \
8-
// _UN: -shared-libs=%linalg_test_lib_dir/libmlir_c_runner_utils%shlibext \
9-
// _UN: -shared-libs=%linalg_test_lib_dir/libmlir_runner_utils%shlibext \
10-
// _UN: -shared-libs=%linalg_test_lib_dir/libmlir_async_runtime%shlibext \
11-
// _UN: | FileCheck %s
1+
// RUN: mlir-opt %s -async-ref-counting \
2+
// RUN: -convert-async-to-llvm \
3+
// RUN: -convert-std-to-llvm \
4+
// RUN: | mlir-cpu-runner \
5+
// RUN: -e main -entry-point-result=void -O0 \
6+
// RUN: -shared-libs=%linalg_test_lib_dir/libmlir_c_runner_utils%shlibext \
7+
// RUN: -shared-libs=%linalg_test_lib_dir/libmlir_runner_utils%shlibext \
8+
// RUN: -shared-libs=%linalg_test_lib_dir/libmlir_async_runtime%shlibext \
9+
// RUN: | FileCheck %s
1210

1311
func @main() {
1412
%group = async.create_group

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

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
1-
// RUN: true
2-
// TODO: re-enable when not flaky.
3-
// _UN: mlir-opt %s -async-ref-counting \
4-
// _UN: -convert-async-to-llvm \
5-
// _UN: -convert-linalg-to-loops \
6-
// _UN: -convert-linalg-to-llvm \
7-
// _UN: -convert-std-to-llvm \
8-
// _UN: | mlir-cpu-runner \
9-
// _UN: -e main -entry-point-result=void -O0 \
10-
// _UN: -shared-libs=%linalg_test_lib_dir/libmlir_c_runner_utils%shlibext \
11-
// _UN: -shared-libs=%linalg_test_lib_dir/libmlir_runner_utils%shlibext \
12-
// _UN: -shared-libs=%linalg_test_lib_dir/libmlir_async_runtime%shlibext \
13-
// _UN: | FileCheck %s
1+
// RUN: mlir-opt %s -async-ref-counting \
2+
// RUN: -convert-async-to-llvm \
3+
// RUN: -convert-linalg-to-loops \
4+
// RUN: -convert-linalg-to-llvm \
5+
// RUN: -convert-std-to-llvm \
6+
// RUN: | mlir-cpu-runner \
7+
// RUN: -e main -entry-point-result=void -O0 \
8+
// RUN: -shared-libs=%linalg_test_lib_dir/libmlir_c_runner_utils%shlibext \
9+
// RUN: -shared-libs=%linalg_test_lib_dir/libmlir_runner_utils%shlibext \
10+
// RUN: -shared-libs=%linalg_test_lib_dir/libmlir_async_runtime%shlibext \
11+
// RUN: | FileCheck %s
1412

1513
func @main() {
1614
%i0 = constant 0 : index

0 commit comments

Comments
 (0)