diff options
| author | River Riddle <riverriddle@google.com> | 2019-03-28 19:53:02 -0700 |
|---|---|---|
| committer | jpienaar <jpienaar@google.com> | 2019-03-29 17:54:21 -0700 |
| commit | 106dd08e9961340f7fe3f8da99380422a59c4cd8 (patch) | |
| tree | 421188317d58bfe512332d815d420a2dbc3bfd5e /mlir/test/Transforms/Vectorize | |
| parent | dd0029e4f6877fda60fd7335028ea8e6350dc0ea (diff) | |
| download | bcm5719-llvm-106dd08e9961340f7fe3f8da99380422a59c4cd8.tar.gz bcm5719-llvm-106dd08e9961340f7fe3f8da99380422a59c4cd8.zip | |
Change the vectorizer test pass to output via diagnostics instead of llvm::outs. This allows for the output to be deterministic when multi-threading is enabled.
PiperOrigin-RevId: 240905858
Diffstat (limited to 'mlir/test/Transforms/Vectorize')
| -rw-r--r-- | mlir/test/Transforms/Vectorize/compose_maps.mlir | 2 | ||||
| -rw-r--r-- | mlir/test/Transforms/Vectorize/vector_utils.mlir | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mlir/test/Transforms/Vectorize/compose_maps.mlir b/mlir/test/Transforms/Vectorize/compose_maps.mlir index db78b5841cd..0f1c599be3b 100644 --- a/mlir/test/Transforms/Vectorize/compose_maps.mlir +++ b/mlir/test/Transforms/Vectorize/compose_maps.mlir @@ -1,4 +1,4 @@ -// RUN: mlir-opt %s -vectorizer-test -compose-maps | FileCheck %s +// RUN: mlir-opt %s -vectorizer-test -compose-maps 2>&1 | FileCheck %s // For all these cases, the test traverses the `test_affine_map` ops and // composes them in order one-by-one. diff --git a/mlir/test/Transforms/Vectorize/vector_utils.mlir b/mlir/test/Transforms/Vectorize/vector_utils.mlir index 06aacf50b48..ad35b67e549 100644 --- a/mlir/test/Transforms/Vectorize/vector_utils.mlir +++ b/mlir/test/Transforms/Vectorize/vector_utils.mlir @@ -1,5 +1,5 @@ -// RUN: mlir-opt %s -vectorizer-test -vector-shape-ratio 4 -vector-shape-ratio 8 | FileCheck %s -// RUN: mlir-opt %s -vectorizer-test -vector-shape-ratio 2 -vector-shape-ratio 5 -vector-shape-ratio 2 | FileCheck %s -check-prefix=TEST-3x4x5x8 +// RUN: mlir-opt %s -vectorizer-test -vector-shape-ratio 4 -vector-shape-ratio 8 2>&1 | FileCheck %s +// RUN: mlir-opt %s -vectorizer-test -vector-shape-ratio 2 -vector-shape-ratio 5 -vector-shape-ratio 2 2>&1 | FileCheck %s -check-prefix=TEST-3x4x5x8 func @vector_add_2d(%arg0: index, %arg1: index) -> f32 { // Nothing should be matched in this first block. |

