diff options
author | Diego Caballero <diego.caballero@intel.com> | 2020-02-11 09:38:34 -0800 |
---|---|---|
committer | Diego Caballero <diego.caballero@intel.com> | 2020-02-11 10:28:30 -0800 |
commit | 696f80736b861dfab5a7330dd009fd1d53b60356 (patch) | |
tree | d036887fe37508f16b496aba4ae2531cf35938ab /mlir/test/mlir-cpu-runner | |
parent | 734f086b42c7e2d7aaee41cc4babad7ef8dcdb9c (diff) | |
download | llvm-696f80736b861dfab5a7330dd009fd1d53b60356.zip llvm-696f80736b861dfab5a7330dd009fd1d53b60356.tar.gz llvm-696f80736b861dfab5a7330dd009fd1d53b60356.tar.bz2 |
[mlir] Turn flags in ConvertStandardToLLVM into pass flags
Follow-up on D72802. Turn -convert-std-to-llvm-use-alloca and
-convert-std-to-llvm-bare-ptr-memref-call-conv into pass flags
of LLVMLoweringPass.
Reviewed By: mehdi_amini
Differential Revision: https://reviews.llvm.org/D73912
Diffstat (limited to 'mlir/test/mlir-cpu-runner')
-rw-r--r-- | mlir/test/mlir-cpu-runner/bare_ptr_call_conv.mlir | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/test/mlir-cpu-runner/bare_ptr_call_conv.mlir b/mlir/test/mlir-cpu-runner/bare_ptr_call_conv.mlir index 59fd969..a0022af 100644 --- a/mlir/test/mlir-cpu-runner/bare_ptr_call_conv.mlir +++ b/mlir/test/mlir-cpu-runner/bare_ptr_call_conv.mlir @@ -1,4 +1,4 @@ -// RUN: mlir-opt %s -convert-loop-to-std -convert-std-to-llvm -convert-std-to-llvm-use-bare-ptr-memref-call-conv | mlir-cpu-runner -shared-libs=%linalg_test_lib_dir/libmlir_runner_utils%shlibext -entry-point-result=void | FileCheck %s +// RUN: mlir-opt %s -convert-loop-to-std -convert-std-to-llvm='use-bare-ptr-memref-call-conv=1' | mlir-cpu-runner -shared-libs=%linalg_test_lib_dir/libmlir_runner_utils%shlibext -entry-point-result=void | FileCheck %s // Verify bare pointer memref calling convention. `simple_add1_add2_test` // gets two 2xf32 memrefs, adds 1.0f to the first one and 2.0f to the second |