[mlir] Rename mlir-cpu-runner to mlir-runner (#123776)
With the removal of mlir-vulkan-runner (as part of #73457) in e7e3c45bc70904e24e2b3221ac8521e67eb84668, mlir-cpu-runner is now the only runner for all CPU and GPU targets, and the "cpu" name has been misleading for some time already. This commit renames it to mlir-runner.
This commit is contained in:
parent
b4e81fd1eb
commit
eb206e9ea8
@ -107,7 +107,7 @@ parallelization. To enable parallelism, necessary transformations must be
|
|||||||
applied before utilizing this pipeline.
|
applied before utilizing this pipeline.
|
||||||
|
|
||||||
It's designed to provide a generic solution for NVVM targets, generating NVVM
|
It's designed to provide a generic solution for NVVM targets, generating NVVM
|
||||||
and LLVM dialect code compatible with `mlir-cpu-runner` or execution engine.
|
and LLVM dialect code compatible with `mlir-runner` or execution engine.
|
||||||
|
|
||||||
#### Example:
|
#### Example:
|
||||||
|
|
||||||
@ -131,7 +131,7 @@ func.func @main() {
|
|||||||
The `gpu-lower-to-nvvm` pipeline compiles this input code to NVVM format as
|
The `gpu-lower-to-nvvm` pipeline compiles this input code to NVVM format as
|
||||||
below. It provides customization options like specifying SM capability, PTX
|
below. It provides customization options like specifying SM capability, PTX
|
||||||
version, and optimization level. Once compiled, the resulting IR is ready for
|
version, and optimization level. Once compiled, the resulting IR is ready for
|
||||||
execution using `mlir-cpu-runner`. Alternatively, it can be translated into
|
execution using `mlir-runner`. Alternatively, it can be translated into
|
||||||
LLVM, expanding its utility within the system.
|
LLVM, expanding its utility within the system.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -8,6 +8,10 @@ specifically, it is a snapshot of the MLIR development at the time of the releas
|
|||||||
|
|
||||||
[TOC]
|
[TOC]
|
||||||
|
|
||||||
|
## LLVM 20
|
||||||
|
|
||||||
|
All the MLIR runners other than `mlir-cpu-runner` have been removed, as their functionality has been merged into it, and it has been renamed to `mlir-runner`.
|
||||||
|
|
||||||
## LLVM 18
|
## LLVM 18
|
||||||
|
|
||||||
### Properties: beyond attributes
|
### Properties: beyond attributes
|
||||||
|
@ -817,7 +817,7 @@ to LLVM ops. At the moment, SPIR-V module attributes are ignored.
|
|||||||
|
|
||||||
## SPIR-V CPU Runner Tests
|
## SPIR-V CPU Runner Tests
|
||||||
|
|
||||||
The `mlir-cpu-runner` has support for executing a `gpu` dialect kernel on the
|
The `mlir-runner` has support for executing a `gpu` dialect kernel on the
|
||||||
CPU via SPIR-V to LLVM dialect conversion. This is referred to as the "SPIR-V
|
CPU via SPIR-V to LLVM dialect conversion. This is referred to as the "SPIR-V
|
||||||
CPU Runner". The `--link-nested-modules` flag needs to be passed for this.
|
CPU Runner". The `--link-nested-modules` flag needs to be passed for this.
|
||||||
Currently, only single-threaded kernels are supported.
|
Currently, only single-threaded kernels are supported.
|
||||||
|
@ -117,7 +117,7 @@ extern "C" {
|
|||||||
|
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
//
|
//
|
||||||
// Wrappers intended for mlir-cpu-runner. Uses of GPU dialect operations get
|
// Wrappers intended for mlir-runner. Uses of GPU dialect operations get
|
||||||
// lowered to calls to these functions by GPUToLLVMConversionPass.
|
// lowered to calls to these functions by GPUToLLVMConversionPass.
|
||||||
//
|
//
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
@ -22,8 +22,8 @@ if (MLIR_INCLUDE_INTEGRATION_TESTS)
|
|||||||
"If set, arch-specific Arm integration tests are run with an emulator.")
|
"If set, arch-specific Arm integration tests are run with an emulator.")
|
||||||
set(ARM_EMULATOR_OPTIONS "" CACHE STRING
|
set(ARM_EMULATOR_OPTIONS "" CACHE STRING
|
||||||
"If arch-specific Arm integration tests run emulated, pass these as parameters to the emulator.")
|
"If arch-specific Arm integration tests run emulated, pass these as parameters to the emulator.")
|
||||||
set(ARM_EMULATOR_MLIR_CPU_RUNNER_EXECUTABLE "" CACHE STRING
|
set(ARM_EMULATOR_MLIR_RUNNER_EXECUTABLE "" CACHE STRING
|
||||||
"If arch-specific Arm integration tests run emulated, use this Arm native mlir-cpu-runner.")
|
"If arch-specific Arm integration tests run emulated, use this Arm native mlir-runner.")
|
||||||
set(ARM_EMULATOR_LLI_EXECUTABLE "" CACHE STRING
|
set(ARM_EMULATOR_LLI_EXECUTABLE "" CACHE STRING
|
||||||
"If arch-specific Arm integration tests run emulated, use this Arm native lli.")
|
"If arch-specific Arm integration tests run emulated, use this Arm native lli.")
|
||||||
set(ARM_EMULATOR_UTILS_LIB_DIR "" CACHE STRING
|
set(ARM_EMULATOR_UTILS_LIB_DIR "" CACHE STRING
|
||||||
@ -135,7 +135,7 @@ set(MLIR_TEST_DEPENDS ${MLIR_TEST_DEPENDS}
|
|||||||
# useless binaries.
|
# useless binaries.
|
||||||
if(LLVM_ENABLE_PIC AND TARGET ${LLVM_NATIVE_ARCH})
|
if(LLVM_ENABLE_PIC AND TARGET ${LLVM_NATIVE_ARCH})
|
||||||
list(APPEND MLIR_TEST_DEPENDS
|
list(APPEND MLIR_TEST_DEPENDS
|
||||||
mlir-cpu-runner
|
mlir-runner
|
||||||
llc
|
llc
|
||||||
mlir_async_runtime
|
mlir_async_runtime
|
||||||
mlir-capi-execution-engine-test
|
mlir-capi-execution-engine-test
|
||||||
|
@ -3,14 +3,14 @@
|
|||||||
|
|
||||||
// RUN: mlir-opt %s --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
// RUN: mlir-opt %s --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
||||||
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
||||||
// RUN: mlir-cpu-runner -e entry -entry-point-result=void \
|
// RUN: mlir-runner -e entry -entry-point-result=void \
|
||||||
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
||||||
// RUN: FileCheck %s --match-full-lines
|
// RUN: FileCheck %s --match-full-lines
|
||||||
|
|
||||||
// RUN: mlir-opt %s --test-arith-emulate-wide-int="widest-int-supported=8" \
|
// RUN: mlir-opt %s --test-arith-emulate-wide-int="widest-int-supported=8" \
|
||||||
// RUN: --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
// RUN: --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
||||||
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
||||||
// RUN: mlir-cpu-runner -e entry -entry-point-result=void \
|
// RUN: mlir-runner -e entry -entry-point-result=void \
|
||||||
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
||||||
// RUN: FileCheck %s --match-full-lines
|
// RUN: FileCheck %s --match-full-lines
|
||||||
|
|
||||||
|
@ -4,14 +4,14 @@
|
|||||||
|
|
||||||
// RUN: mlir-opt %s --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
// RUN: mlir-opt %s --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
||||||
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
||||||
// RUN: mlir-cpu-runner -e entry -entry-point-result=void \
|
// RUN: mlir-runner -e entry -entry-point-result=void \
|
||||||
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
||||||
// RUN: FileCheck %s --match-full-lines
|
// RUN: FileCheck %s --match-full-lines
|
||||||
|
|
||||||
// RUN: mlir-opt %s --test-arith-emulate-wide-int="widest-int-supported=8" \
|
// RUN: mlir-opt %s --test-arith-emulate-wide-int="widest-int-supported=8" \
|
||||||
// RUN: --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
// RUN: --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
||||||
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
||||||
// RUN: mlir-cpu-runner -e entry -entry-point-result=void \
|
// RUN: mlir-runner -e entry -entry-point-result=void \
|
||||||
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
||||||
// RUN: FileCheck %s --match-full-lines
|
// RUN: FileCheck %s --match-full-lines
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
// RUN: --convert-vector-to-scf --convert-scf-to-cf --convert-cf-to-llvm \
|
// RUN: --convert-vector-to-scf --convert-scf-to-cf --convert-cf-to-llvm \
|
||||||
// RUN: --convert-vector-to-llvm --convert-func-to-llvm --convert-arith-to-llvm \
|
// RUN: --convert-vector-to-llvm --convert-func-to-llvm --convert-arith-to-llvm \
|
||||||
// RUN: --reconcile-unrealized-casts | \
|
// RUN: --reconcile-unrealized-casts | \
|
||||||
// RUN: mlir-cpu-runner -e entry -entry-point-result=void \
|
// RUN: mlir-runner -e entry -entry-point-result=void \
|
||||||
// RUN: --shared-libs="%mlir_c_runner_utils,%mlir_runner_utils" | \
|
// RUN: --shared-libs="%mlir_c_runner_utils,%mlir_runner_utils" | \
|
||||||
// RUN: FileCheck %s
|
// RUN: FileCheck %s
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
// RUN: mlir-opt %s --test-arith-emulate-wide-int="widest-int-supported=8" \
|
// RUN: mlir-opt %s --test-arith-emulate-wide-int="widest-int-supported=8" \
|
||||||
// RUN: --convert-vector-to-scf --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
// RUN: --convert-vector-to-scf --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
||||||
// RUN: --convert-func-to-llvm --convert-arith-to-llvm --reconcile-unrealized-casts | \
|
// RUN: --convert-func-to-llvm --convert-arith-to-llvm --reconcile-unrealized-casts | \
|
||||||
// RUN: mlir-cpu-runner -e entry -entry-point-result=void \
|
// RUN: mlir-runner -e entry -entry-point-result=void \
|
||||||
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
||||||
// RUN: FileCheck %s --match-full-lines --check-prefix=EMULATED
|
// RUN: FileCheck %s --match-full-lines --check-prefix=EMULATED
|
||||||
|
|
||||||
|
@ -4,14 +4,14 @@
|
|||||||
|
|
||||||
// RUN: mlir-opt %s --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
// RUN: mlir-opt %s --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
||||||
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
||||||
// RUN: mlir-cpu-runner -e entry -entry-point-result=void \
|
// RUN: mlir-runner -e entry -entry-point-result=void \
|
||||||
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
||||||
// RUN: FileCheck %s --match-full-lines
|
// RUN: FileCheck %s --match-full-lines
|
||||||
|
|
||||||
// RUN: mlir-opt %s --test-arith-emulate-wide-int="widest-int-supported=8" \
|
// RUN: mlir-opt %s --test-arith-emulate-wide-int="widest-int-supported=8" \
|
||||||
// RUN: --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
// RUN: --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
||||||
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
||||||
// RUN: mlir-cpu-runner -e entry -entry-point-result=void \
|
// RUN: mlir-runner -e entry -entry-point-result=void \
|
||||||
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
||||||
// RUN: FileCheck %s --match-full-lines
|
// RUN: FileCheck %s --match-full-lines
|
||||||
|
|
||||||
|
@ -3,14 +3,14 @@
|
|||||||
|
|
||||||
// RUN: mlir-opt %s --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
// RUN: mlir-opt %s --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
||||||
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
||||||
// RUN: mlir-cpu-runner -e entry -entry-point-result=void \
|
// RUN: mlir-runner -e entry -entry-point-result=void \
|
||||||
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
||||||
// RUN: FileCheck %s --match-full-lines
|
// RUN: FileCheck %s --match-full-lines
|
||||||
|
|
||||||
// RUN: mlir-opt %s --test-arith-emulate-wide-int="widest-int-supported=8" \
|
// RUN: mlir-opt %s --test-arith-emulate-wide-int="widest-int-supported=8" \
|
||||||
// RUN: --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
// RUN: --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
||||||
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
||||||
// RUN: mlir-cpu-runner -e entry -entry-point-result=void \
|
// RUN: mlir-runner -e entry -entry-point-result=void \
|
||||||
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
||||||
// RUN: FileCheck %s --match-full-lines
|
// RUN: FileCheck %s --match-full-lines
|
||||||
|
|
||||||
|
@ -3,14 +3,14 @@
|
|||||||
|
|
||||||
// RUN: mlir-opt %s --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
// RUN: mlir-opt %s --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
||||||
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
||||||
// RUN: mlir-cpu-runner -e entry -entry-point-result=void \
|
// RUN: mlir-runner -e entry -entry-point-result=void \
|
||||||
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
||||||
// RUN: FileCheck %s --match-full-lines
|
// RUN: FileCheck %s --match-full-lines
|
||||||
|
|
||||||
// RUN: mlir-opt %s --test-arith-emulate-wide-int="widest-int-supported=8" \
|
// RUN: mlir-opt %s --test-arith-emulate-wide-int="widest-int-supported=8" \
|
||||||
// RUN: --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
// RUN: --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
||||||
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
||||||
// RUN: mlir-cpu-runner -e entry -entry-point-result=void \
|
// RUN: mlir-runner -e entry -entry-point-result=void \
|
||||||
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
||||||
// RUN: FileCheck %s --match-full-lines
|
// RUN: FileCheck %s --match-full-lines
|
||||||
|
|
||||||
|
@ -3,14 +3,14 @@
|
|||||||
|
|
||||||
// RUN: mlir-opt %s --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
// RUN: mlir-opt %s --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
||||||
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
||||||
// RUN: mlir-cpu-runner -e entry -entry-point-result=void \
|
// RUN: mlir-runner -e entry -entry-point-result=void \
|
||||||
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
||||||
// RUN: FileCheck %s --match-full-lines
|
// RUN: FileCheck %s --match-full-lines
|
||||||
|
|
||||||
// RUN: mlir-opt %s --test-arith-emulate-wide-int="widest-int-supported=8" \
|
// RUN: mlir-opt %s --test-arith-emulate-wide-int="widest-int-supported=8" \
|
||||||
// RUN: --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
// RUN: --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
||||||
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
||||||
// RUN: mlir-cpu-runner -e entry -entry-point-result=void \
|
// RUN: mlir-runner -e entry -entry-point-result=void \
|
||||||
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
||||||
// RUN: FileCheck %s --match-full-lines
|
// RUN: FileCheck %s --match-full-lines
|
||||||
|
|
||||||
|
@ -3,14 +3,14 @@
|
|||||||
|
|
||||||
// RUN: mlir-opt %s --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
// RUN: mlir-opt %s --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
||||||
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
||||||
// RUN: mlir-cpu-runner -e entry -entry-point-result=void \
|
// RUN: mlir-runner -e entry -entry-point-result=void \
|
||||||
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
||||||
// RUN: FileCheck %s --match-full-lines
|
// RUN: FileCheck %s --match-full-lines
|
||||||
|
|
||||||
// RUN: mlir-opt %s --test-arith-emulate-wide-int="widest-int-supported=8" \
|
// RUN: mlir-opt %s --test-arith-emulate-wide-int="widest-int-supported=8" \
|
||||||
// RUN: --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
// RUN: --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
||||||
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
||||||
// RUN: mlir-cpu-runner -e entry -entry-point-result=void \
|
// RUN: mlir-runner -e entry -entry-point-result=void \
|
||||||
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
||||||
// RUN: FileCheck %s --match-full-lines
|
// RUN: FileCheck %s --match-full-lines
|
||||||
|
|
||||||
|
@ -3,14 +3,14 @@
|
|||||||
|
|
||||||
// RUN: mlir-opt %s --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
// RUN: mlir-opt %s --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
||||||
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
||||||
// RUN: mlir-cpu-runner -e entry -entry-point-result=void \
|
// RUN: mlir-runner -e entry -entry-point-result=void \
|
||||||
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
||||||
// RUN: FileCheck %s --match-full-lines
|
// RUN: FileCheck %s --match-full-lines
|
||||||
|
|
||||||
// RUN: mlir-opt %s --test-arith-emulate-wide-int="widest-int-supported=16" \
|
// RUN: mlir-opt %s --test-arith-emulate-wide-int="widest-int-supported=16" \
|
||||||
// RUN: --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
// RUN: --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
||||||
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
||||||
// RUN: mlir-cpu-runner -e entry -entry-point-result=void \
|
// RUN: mlir-runner -e entry -entry-point-result=void \
|
||||||
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
||||||
// RUN: FileCheck %s --match-full-lines
|
// RUN: FileCheck %s --match-full-lines
|
||||||
|
|
||||||
|
@ -3,14 +3,14 @@
|
|||||||
|
|
||||||
// RUN: mlir-opt %s --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
// RUN: mlir-opt %s --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
||||||
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
||||||
// RUN: mlir-cpu-runner -e entry -entry-point-result=void \
|
// RUN: mlir-runner -e entry -entry-point-result=void \
|
||||||
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
||||||
// RUN: FileCheck %s --match-full-lines
|
// RUN: FileCheck %s --match-full-lines
|
||||||
|
|
||||||
// RUN: mlir-opt %s --test-arith-emulate-wide-int="widest-int-supported=16" \
|
// RUN: mlir-opt %s --test-arith-emulate-wide-int="widest-int-supported=16" \
|
||||||
// RUN: --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
// RUN: --convert-scf-to-cf --convert-cf-to-llvm --convert-vector-to-llvm \
|
||||||
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
// RUN: --convert-func-to-llvm --convert-arith-to-llvm | \
|
||||||
// RUN: mlir-cpu-runner -e entry -entry-point-result=void \
|
// RUN: mlir-runner -e entry -entry-point-result=void \
|
||||||
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
// RUN: --shared-libs=%mlir_c_runner_utils | \
|
||||||
// RUN: FileCheck %s --match-full-lines
|
// RUN: FileCheck %s --match-full-lines
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
// RUN: -convert-arith-to-llvm \
|
// RUN: -convert-arith-to-llvm \
|
||||||
// RUN: -convert-cf-to-llvm \
|
// RUN: -convert-cf-to-llvm \
|
||||||
// RUN: -reconcile-unrealized-casts \
|
// RUN: -reconcile-unrealized-casts \
|
||||||
// RUN: | mlir-cpu-runner \
|
// RUN: | mlir-runner \
|
||||||
// RUN: -e entry -entry-point-result=void -O3 \
|
// RUN: -e entry -entry-point-result=void -O3 \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils \
|
// RUN: -shared-libs=%mlir_runner_utils \
|
||||||
// RUN: -shared-libs=%mlir_c_runner_utils\
|
// RUN: -shared-libs=%mlir_c_runner_utils\
|
||||||
@ -30,7 +30,7 @@
|
|||||||
// RUN: -convert-arith-to-llvm \
|
// RUN: -convert-arith-to-llvm \
|
||||||
// RUN: -convert-cf-to-llvm \
|
// RUN: -convert-cf-to-llvm \
|
||||||
// RUN: -reconcile-unrealized-casts \
|
// RUN: -reconcile-unrealized-casts \
|
||||||
// RUN: | mlir-cpu-runner \
|
// RUN: | mlir-runner \
|
||||||
// RUN: -e entry -entry-point-result=void -O3 \
|
// RUN: -e entry -entry-point-result=void -O3 \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils \
|
// RUN: -shared-libs=%mlir_runner_utils \
|
||||||
// RUN: -shared-libs=%mlir_c_runner_utils\
|
// RUN: -shared-libs=%mlir_c_runner_utils\
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
// RUN: -convert-arith-to-llvm \
|
// RUN: -convert-arith-to-llvm \
|
||||||
// RUN: -convert-cf-to-llvm \
|
// RUN: -convert-cf-to-llvm \
|
||||||
// RUN: -reconcile-unrealized-casts \
|
// RUN: -reconcile-unrealized-casts \
|
||||||
// RUN: | mlir-cpu-runner \
|
// RUN: | mlir-runner \
|
||||||
// RUN: -e entry -entry-point-result=void -O3 \
|
// RUN: -e entry -entry-point-result=void -O3 \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils \
|
// RUN: -shared-libs=%mlir_runner_utils \
|
||||||
// RUN: -shared-libs=%mlir_c_runner_utils\
|
// RUN: -shared-libs=%mlir_c_runner_utils\
|
||||||
@ -37,7 +37,7 @@
|
|||||||
// RUN: -convert-arith-to-llvm \
|
// RUN: -convert-arith-to-llvm \
|
||||||
// RUN: -convert-cf-to-llvm \
|
// RUN: -convert-cf-to-llvm \
|
||||||
// RUN: -reconcile-unrealized-casts \
|
// RUN: -reconcile-unrealized-casts \
|
||||||
// RUN: | mlir-cpu-runner \
|
// RUN: | mlir-runner \
|
||||||
// RUN: -e entry -entry-point-result=void -O3 \
|
// RUN: -e entry -entry-point-result=void -O3 \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils \
|
// RUN: -shared-libs=%mlir_runner_utils \
|
||||||
// RUN: -shared-libs=%mlir_c_runner_utils\
|
// RUN: -shared-libs=%mlir_c_runner_utils\
|
||||||
@ -53,7 +53,7 @@
|
|||||||
// RUN: -convert-arith-to-llvm \
|
// RUN: -convert-arith-to-llvm \
|
||||||
// RUN: -convert-cf-to-llvm \
|
// RUN: -convert-cf-to-llvm \
|
||||||
// RUN: -reconcile-unrealized-casts \
|
// RUN: -reconcile-unrealized-casts \
|
||||||
// RUN: | mlir-cpu-runner \
|
// RUN: | mlir-runner \
|
||||||
// RUN: -e entry -entry-point-result=void -O3 \
|
// RUN: -e entry -entry-point-result=void -O3 \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils \
|
// RUN: -shared-libs=%mlir_runner_utils \
|
||||||
// RUN: -shared-libs=%mlir_c_runner_utils\
|
// RUN: -shared-libs=%mlir_c_runner_utils\
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
// RUN: -convert-arith-to-llvm \
|
// RUN: -convert-arith-to-llvm \
|
||||||
// RUN: -convert-cf-to-llvm \
|
// RUN: -convert-cf-to-llvm \
|
||||||
// RUN: -reconcile-unrealized-casts \
|
// RUN: -reconcile-unrealized-casts \
|
||||||
// RUN: | mlir-cpu-runner \
|
// RUN: | mlir-runner \
|
||||||
// RUN: -e entry -entry-point-result=void -O0 \
|
// RUN: -e entry -entry-point-result=void -O0 \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils \
|
// RUN: -shared-libs=%mlir_runner_utils \
|
||||||
// RUN: -shared-libs=%mlir_async_runtime\
|
// RUN: -shared-libs=%mlir_async_runtime\
|
||||||
@ -29,7 +29,7 @@
|
|||||||
// RUN: -convert-arith-to-llvm \
|
// RUN: -convert-arith-to-llvm \
|
||||||
// RUN: -convert-cf-to-llvm \
|
// RUN: -convert-cf-to-llvm \
|
||||||
// RUN: -reconcile-unrealized-casts \
|
// RUN: -reconcile-unrealized-casts \
|
||||||
// RUN: | mlir-cpu-runner \
|
// RUN: | mlir-runner \
|
||||||
// RUN: -e entry -entry-point-result=void -O0 \
|
// RUN: -e entry -entry-point-result=void -O0 \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils \
|
// RUN: -shared-libs=%mlir_runner_utils \
|
||||||
// RUN: -shared-libs=%mlir_async_runtime\
|
// RUN: -shared-libs=%mlir_async_runtime\
|
||||||
@ -50,7 +50,7 @@
|
|||||||
// RUN: -convert-arith-to-llvm \
|
// RUN: -convert-arith-to-llvm \
|
||||||
// RUN: -convert-cf-to-llvm \
|
// RUN: -convert-cf-to-llvm \
|
||||||
// RUN: -reconcile-unrealized-casts \
|
// RUN: -reconcile-unrealized-casts \
|
||||||
// RUN: | mlir-cpu-runner \
|
// RUN: | mlir-runner \
|
||||||
// RUN: -e entry -entry-point-result=void -O0 \
|
// RUN: -e entry -entry-point-result=void -O0 \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils \
|
// RUN: -shared-libs=%mlir_runner_utils \
|
||||||
// RUN: -shared-libs=%mlir_async_runtime\
|
// RUN: -shared-libs=%mlir_async_runtime\
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
// RUN: -convert-arith-to-llvm \
|
// RUN: -convert-arith-to-llvm \
|
||||||
// RUN: -convert-cf-to-llvm \
|
// RUN: -convert-cf-to-llvm \
|
||||||
// RUN: -reconcile-unrealized-casts \
|
// RUN: -reconcile-unrealized-casts \
|
||||||
// RUN: | mlir-cpu-runner \
|
// RUN: | mlir-runner \
|
||||||
// RUN: -e entry -entry-point-result=void -O0 \
|
// RUN: -e entry -entry-point-result=void -O0 \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils \
|
// RUN: -shared-libs=%mlir_runner_utils \
|
||||||
// RUN: -shared-libs=%mlir_async_runtime\
|
// RUN: -shared-libs=%mlir_async_runtime\
|
||||||
@ -27,7 +27,7 @@
|
|||||||
// RUN: -convert-arith-to-llvm \
|
// RUN: -convert-arith-to-llvm \
|
||||||
// RUN: -convert-cf-to-llvm \
|
// RUN: -convert-cf-to-llvm \
|
||||||
// RUN: -reconcile-unrealized-casts \
|
// RUN: -reconcile-unrealized-casts \
|
||||||
// RUN: | mlir-cpu-runner \
|
// RUN: | mlir-runner \
|
||||||
// RUN: -e entry -entry-point-result=void -O0 \
|
// RUN: -e entry -entry-point-result=void -O0 \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils \
|
// RUN: -shared-libs=%mlir_runner_utils \
|
||||||
// RUN: -shared-libs=%mlir_async_runtime\
|
// RUN: -shared-libs=%mlir_async_runtime\
|
||||||
@ -47,7 +47,7 @@
|
|||||||
// RUN: -convert-arith-to-llvm \
|
// RUN: -convert-arith-to-llvm \
|
||||||
// RUN: -convert-cf-to-llvm \
|
// RUN: -convert-cf-to-llvm \
|
||||||
// RUN: -reconcile-unrealized-casts \
|
// RUN: -reconcile-unrealized-casts \
|
||||||
// RUN: | mlir-cpu-runner \
|
// RUN: | mlir-runner \
|
||||||
// RUN: -e entry -entry-point-result=void -O0 \
|
// RUN: -e entry -entry-point-result=void -O0 \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils \
|
// RUN: -shared-libs=%mlir_runner_utils \
|
||||||
// RUN: -shared-libs=%mlir_async_runtime\
|
// RUN: -shared-libs=%mlir_async_runtime\
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
// RUN: -convert-vector-to-llvm -convert-complex-to-llvm \
|
// RUN: -convert-vector-to-llvm -convert-complex-to-llvm \
|
||||||
// RUN: -convert-func-to-llvm -convert-arith-to-llvm -convert-cf-to-llvm \
|
// RUN: -convert-func-to-llvm -convert-arith-to-llvm -convert-cf-to-llvm \
|
||||||
// RUN: -reconcile-unrealized-casts |\
|
// RUN: -reconcile-unrealized-casts |\
|
||||||
// RUN: mlir-cpu-runner \
|
// RUN: mlir-runner \
|
||||||
// RUN: -e entry -entry-point-result=void \
|
// RUN: -e entry -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_c_runner_utils |\
|
// RUN: -shared-libs=%mlir_c_runner_utils |\
|
||||||
// RUN: FileCheck %s
|
// RUN: FileCheck %s
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
// RUN: mlir-opt %s -test-cf-assert \
|
// RUN: mlir-opt %s -test-cf-assert \
|
||||||
// RUN: -convert-func-to-llvm -convert-arith-to-llvm | \
|
// RUN: -convert-func-to-llvm -convert-arith-to-llvm | \
|
||||||
// RUN: mlir-cpu-runner -e main -entry-point-result=void | \
|
// RUN: mlir-runner -e main -entry-point-result=void | \
|
||||||
// RUN: FileCheck %s
|
// RUN: FileCheck %s
|
||||||
|
|
||||||
func.func @main() {
|
func.func @main() {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// RUN: mlir-opt %s -convert-vector-to-scf -convert-scf-to-cf -convert-vector-to-llvm -convert-func-to-llvm -convert-arith-to-llvm -convert-cf-to-llvm -reconcile-unrealized-casts | \
|
// RUN: mlir-opt %s -convert-vector-to-scf -convert-scf-to-cf -convert-vector-to-llvm -convert-func-to-llvm -convert-arith-to-llvm -convert-cf-to-llvm -reconcile-unrealized-casts | \
|
||||||
// RUN: mlir-cpu-runner -e entry_point_with_all_constants -entry-point-result=void \
|
// RUN: mlir-runner -e entry_point_with_all_constants -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_c_runner_utils
|
// RUN: -shared-libs=%mlir_c_runner_utils
|
||||||
|
|
||||||
module {
|
module {
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// RUN: mlir-cpu-runner %s -e entry -entry-point-result=void \
|
// RUN: mlir-runner %s -e entry -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_c_runner_utils | \
|
// RUN: -shared-libs=%mlir_c_runner_utils | \
|
||||||
// RUN: FileCheck %s
|
// RUN: FileCheck %s
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// RUN: mlir-opt %s --finalize-memref-to-llvm | \
|
// RUN: mlir-opt %s --finalize-memref-to-llvm | \
|
||||||
// RUN: mlir-cpu-runner -e entry -entry-point-result=void
|
// RUN: mlir-runner -e entry -entry-point-result=void
|
||||||
|
|
||||||
//
|
//
|
||||||
// Code should not crash on the complex32 sparse constant.
|
// Code should not crash on the complex32 sparse constant.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// RUN: mlir-cpu-runner %s -e entry -entry-point-result=void \
|
// RUN: mlir-runner %s -e entry -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_c_runner_utils | \
|
// RUN: -shared-libs=%mlir_c_runner_utils | \
|
||||||
// RUN: FileCheck %s
|
// RUN: FileCheck %s
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
// RUN: mlir-cpu-runner %s -e entry -entry-point-result=void \
|
// RUN: mlir-runner %s -e entry -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_c_runner_utils | \
|
// RUN: -shared-libs=%mlir_c_runner_utils | \
|
||||||
// RUN: FileCheck %s
|
// RUN: FileCheck %s
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// RUN: mlir-opt %s -convert-linalg-to-loops -convert-scf-to-cf -expand-strided-metadata -lower-affine -convert-arith-to-llvm -finalize-memref-to-llvm -convert-func-to-llvm -convert-cf-to-llvm -reconcile-unrealized-casts | \
|
// RUN: mlir-opt %s -convert-linalg-to-loops -convert-scf-to-cf -expand-strided-metadata -lower-affine -convert-arith-to-llvm -finalize-memref-to-llvm -convert-func-to-llvm -convert-cf-to-llvm -reconcile-unrealized-casts | \
|
||||||
// RUN: mlir-cpu-runner -O3 -e main -entry-point-result=void \
|
// RUN: mlir-runner -O3 -e main -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils \
|
// RUN: -shared-libs=%mlir_runner_utils \
|
||||||
// RUN: | FileCheck %s
|
// RUN: | FileCheck %s
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// DEFINE: -transform-interpreter -test-transform-dialect-erase-schedule \
|
// DEFINE: -transform-interpreter -test-transform-dialect-erase-schedule \
|
||||||
// DEFINE: -one-shot-bufferize="bufferize-function-boundaries" -buffer-deallocation-pipeline -cse -canonicalize -convert-vector-to-scf -test-lower-to-llvm -o %t
|
// DEFINE: -one-shot-bufferize="bufferize-function-boundaries" -buffer-deallocation-pipeline -cse -canonicalize -convert-vector-to-scf -test-lower-to-llvm -o %t
|
||||||
// DEFINE: %{entry_point} = mmt4d
|
// DEFINE: %{entry_point} = mmt4d
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %t -e %{entry_point} -entry-point-result=void \
|
// DEFINE: %{run} = mlir-runner %t -e %{entry_point} -entry-point-result=void \
|
||||||
// DEFINE: -shared-libs=%mlir_runner_utils,%mlir_c_runner_utils
|
// DEFINE: -shared-libs=%mlir_runner_utils,%mlir_c_runner_utils
|
||||||
|
|
||||||
// RUN: %{compile}
|
// RUN: %{compile}
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
// DEFINE: mlir-opt \
|
// DEFINE: mlir-opt \
|
||||||
// DEFINE: -test-lower-to-llvm -o %t
|
// DEFINE: -test-lower-to-llvm -o %t
|
||||||
// DEFINE: %{entry_point} = main
|
// DEFINE: %{entry_point} = main
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %t -e %{entry_point} -entry-point-result=void \
|
// DEFINE: %{run} = mlir-runner %t -e %{entry_point} -entry-point-result=void \
|
||||||
// DEFINE: -shared-libs=%mlir_runner_utils,%mlir_c_runner_utils
|
// DEFINE: -shared-libs=%mlir_runner_utils,%mlir_c_runner_utils
|
||||||
|
|
||||||
// RUN: rm -f %t && %{compile} && %{run} | FileCheck %s
|
// RUN: rm -f %t && %{compile} && %{run} | FileCheck %s
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
// DEFINE: -buffer-deallocation-pipeline="private-function-dynamic-ownership" \
|
// DEFINE: -buffer-deallocation-pipeline="private-function-dynamic-ownership" \
|
||||||
// DEFINE: -cse -canonicalize -test-lower-to-llvm
|
// DEFINE: -cse -canonicalize -test-lower-to-llvm
|
||||||
// DEFINE: %{entry_point} = main
|
// DEFINE: %{entry_point} = main
|
||||||
// DEFINE: %{run} = mlir-cpu-runner -e %{entry_point} -entry-point-result=void \
|
// DEFINE: %{run} = mlir-runner -e %{entry_point} -entry-point-result=void \
|
||||||
// DEFINE: -shared-libs=%mlir_runner_utils,%mlir_c_runner_utils
|
// DEFINE: -shared-libs=%mlir_runner_utils,%mlir_c_runner_utils
|
||||||
|
|
||||||
// RUN: %{compile} | %{run} | FileCheck %s
|
// RUN: %{compile} | %{run} | FileCheck %s
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// RUN: mlir-opt %s -convert-linalg-to-loops -convert-scf-to-cf -expand-strided-metadata -lower-affine -convert-arith-to-llvm -finalize-memref-to-llvm -convert-func-to-llvm -reconcile-unrealized-casts | \
|
// RUN: mlir-opt %s -convert-linalg-to-loops -convert-scf-to-cf -expand-strided-metadata -lower-affine -convert-arith-to-llvm -finalize-memref-to-llvm -convert-func-to-llvm -reconcile-unrealized-casts | \
|
||||||
// RUN: mlir-cpu-runner -O3 -e main -entry-point-result=void \
|
// RUN: mlir-runner -O3 -e main -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils \
|
// RUN: -shared-libs=%mlir_runner_utils \
|
||||||
// RUN: | FileCheck %s
|
// RUN: | FileCheck %s
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
// RUN: -convert-arith-to-llvm \
|
// RUN: -convert-arith-to-llvm \
|
||||||
// RUN: -convert-cf-to-llvm \
|
// RUN: -convert-cf-to-llvm \
|
||||||
// RUN: -reconcile-unrealized-casts | \
|
// RUN: -reconcile-unrealized-casts | \
|
||||||
// RUN: mlir-cpu-runner -e main -entry-point-result=void \
|
// RUN: mlir-runner -e main -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils \
|
// RUN: -shared-libs=%mlir_runner_utils \
|
||||||
// RUN: -shared-libs=%mlir_c_runner_utils 2>&1 | \
|
// RUN: -shared-libs=%mlir_c_runner_utils 2>&1 | \
|
||||||
// RUN: FileCheck %s
|
// RUN: FileCheck %s
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
// RUN: -buffer-deallocation-pipeline -convert-bufferization-to-memref \
|
// RUN: -buffer-deallocation-pipeline -convert-bufferization-to-memref \
|
||||||
// RUN: -convert-scf-to-cf -expand-strided-metadata -lower-affine -convert-cf-to-llvm -convert-arith-to-llvm \
|
// RUN: -convert-scf-to-cf -expand-strided-metadata -lower-affine -convert-cf-to-llvm -convert-arith-to-llvm \
|
||||||
// RUN: -finalize-memref-to-llvm -convert-func-to-llvm -reconcile-unrealized-casts | \
|
// RUN: -finalize-memref-to-llvm -convert-func-to-llvm -reconcile-unrealized-casts | \
|
||||||
// RUN: mlir-cpu-runner -e main -entry-point-result=void \
|
// RUN: mlir-runner -e main -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils,%mlir_c_runner_utils \
|
// RUN: -shared-libs=%mlir_runner_utils,%mlir_c_runner_utils \
|
||||||
// RUN: | FileCheck %s
|
// RUN: | FileCheck %s
|
||||||
|
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
// RUN: mlir-opt %s -test-transform-dialect-erase-schedule -convert-linalg-to-loops -convert-scf-to-cf -expand-strided-metadata -lower-affine -convert-arith-to-llvm -convert-scf-to-cf --finalize-memref-to-llvm -convert-func-to-llvm -convert-cf-to-llvm -reconcile-unrealized-casts | \
|
// RUN: mlir-opt %s -test-transform-dialect-erase-schedule -convert-linalg-to-loops -convert-scf-to-cf -expand-strided-metadata -lower-affine -convert-arith-to-llvm -convert-scf-to-cf --finalize-memref-to-llvm -convert-func-to-llvm -convert-cf-to-llvm -reconcile-unrealized-casts | \
|
||||||
// RUN: mlir-cpu-runner -e main -entry-point-result=void \
|
// RUN: mlir-runner -e main -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils \
|
// RUN: -shared-libs=%mlir_runner_utils \
|
||||||
// RUN: | FileCheck %s
|
// RUN: | FileCheck %s
|
||||||
|
|
||||||
// RUN: mlir-opt %s -transform-interpreter -test-transform-dialect-erase-schedule -convert-linalg-to-loops -convert-scf-to-cf \
|
// RUN: mlir-opt %s -transform-interpreter -test-transform-dialect-erase-schedule -convert-linalg-to-loops -convert-scf-to-cf \
|
||||||
// RUN: -expand-strided-metadata -lower-affine -convert-arith-to-llvm -convert-scf-to-cf --finalize-memref-to-llvm -convert-func-to-llvm -convert-cf-to-llvm -reconcile-unrealized-casts | \
|
// RUN: -expand-strided-metadata -lower-affine -convert-arith-to-llvm -convert-scf-to-cf --finalize-memref-to-llvm -convert-func-to-llvm -convert-cf-to-llvm -reconcile-unrealized-casts | \
|
||||||
// RUN: mlir-cpu-runner -e main -entry-point-result=void \
|
// RUN: mlir-runner -e main -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils \
|
// RUN: -shared-libs=%mlir_runner_utils \
|
||||||
// RUN: | FileCheck %s
|
// RUN: | FileCheck %s
|
||||||
|
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
// RUN: mlir-opt %s -test-transform-dialect-erase-schedule -convert-linalg-to-loops -convert-scf-to-cf -expand-strided-metadata -lower-affine -convert-arith-to-llvm -convert-scf-to-cf --finalize-memref-to-llvm -convert-func-to-llvm -convert-cf-to-llvm -reconcile-unrealized-casts | \
|
// RUN: mlir-opt %s -test-transform-dialect-erase-schedule -convert-linalg-to-loops -convert-scf-to-cf -expand-strided-metadata -lower-affine -convert-arith-to-llvm -convert-scf-to-cf --finalize-memref-to-llvm -convert-func-to-llvm -convert-cf-to-llvm -reconcile-unrealized-casts | \
|
||||||
// RUN: mlir-cpu-runner -e main -entry-point-result=void \
|
// RUN: mlir-runner -e main -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils \
|
// RUN: -shared-libs=%mlir_runner_utils \
|
||||||
// RUN: | FileCheck %s
|
// RUN: | FileCheck %s
|
||||||
|
|
||||||
// RUN: mlir-opt %s -transform-interpreter -test-transform-dialect-erase-schedule -convert-linalg-to-loops -convert-scf-to-cf \
|
// RUN: mlir-opt %s -transform-interpreter -test-transform-dialect-erase-schedule -convert-linalg-to-loops -convert-scf-to-cf \
|
||||||
// RUN: -expand-strided-metadata -lower-affine -convert-arith-to-llvm -convert-scf-to-cf --finalize-memref-to-llvm -convert-func-to-llvm -convert-cf-to-llvm -reconcile-unrealized-casts | \
|
// RUN: -expand-strided-metadata -lower-affine -convert-arith-to-llvm -convert-scf-to-cf --finalize-memref-to-llvm -convert-func-to-llvm -convert-cf-to-llvm -reconcile-unrealized-casts | \
|
||||||
// RUN: mlir-cpu-runner -e main -entry-point-result=void \
|
// RUN: mlir-runner -e main -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils \
|
// RUN: -shared-libs=%mlir_runner_utils \
|
||||||
// RUN: | FileCheck %s
|
// RUN: | FileCheck %s
|
||||||
|
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
// RUN: mlir-opt %s -test-transform-dialect-erase-schedule -convert-linalg-to-loops -convert-scf-to-cf -expand-strided-metadata -lower-affine -convert-arith-to-llvm -convert-scf-to-cf --finalize-memref-to-llvm -convert-func-to-llvm -convert-cf-to-llvm -reconcile-unrealized-casts | \
|
// RUN: mlir-opt %s -test-transform-dialect-erase-schedule -convert-linalg-to-loops -convert-scf-to-cf -expand-strided-metadata -lower-affine -convert-arith-to-llvm -convert-scf-to-cf --finalize-memref-to-llvm -convert-func-to-llvm -convert-cf-to-llvm -reconcile-unrealized-casts | \
|
||||||
// RUN: mlir-cpu-runner -e main -entry-point-result=void \
|
// RUN: mlir-runner -e main -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils \
|
// RUN: -shared-libs=%mlir_runner_utils \
|
||||||
// RUN: | FileCheck %s
|
// RUN: | FileCheck %s
|
||||||
|
|
||||||
// RUN: mlir-opt %s -transform-interpreter -test-transform-dialect-erase-schedule -convert-linalg-to-loops -convert-scf-to-cf \
|
// RUN: mlir-opt %s -transform-interpreter -test-transform-dialect-erase-schedule -convert-linalg-to-loops -convert-scf-to-cf \
|
||||||
// RUN: -expand-strided-metadata -lower-affine -convert-arith-to-llvm -convert-scf-to-cf --finalize-memref-to-llvm -convert-func-to-llvm -convert-cf-to-llvm -reconcile-unrealized-casts | \
|
// RUN: -expand-strided-metadata -lower-affine -convert-arith-to-llvm -convert-scf-to-cf --finalize-memref-to-llvm -convert-func-to-llvm -convert-cf-to-llvm -reconcile-unrealized-casts | \
|
||||||
// RUN: mlir-cpu-runner -e main -entry-point-result=void \
|
// RUN: mlir-runner -e main -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils \
|
// RUN: -shared-libs=%mlir_runner_utils \
|
||||||
// RUN: | FileCheck %s
|
// RUN: | FileCheck %s
|
||||||
|
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
// RUN: mlir-opt %s -test-transform-dialect-erase-schedule -convert-linalg-to-loops -convert-scf-to-cf -expand-strided-metadata -lower-affine -convert-arith-to-llvm -convert-scf-to-cf --finalize-memref-to-llvm -convert-func-to-llvm -convert-cf-to-llvm -reconcile-unrealized-casts | \
|
// RUN: mlir-opt %s -test-transform-dialect-erase-schedule -convert-linalg-to-loops -convert-scf-to-cf -expand-strided-metadata -lower-affine -convert-arith-to-llvm -convert-scf-to-cf --finalize-memref-to-llvm -convert-func-to-llvm -convert-cf-to-llvm -reconcile-unrealized-casts | \
|
||||||
// RUN: mlir-cpu-runner -e main -entry-point-result=void \
|
// RUN: mlir-runner -e main -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils \
|
// RUN: -shared-libs=%mlir_runner_utils \
|
||||||
// RUN: | FileCheck %s
|
// RUN: | FileCheck %s
|
||||||
|
|
||||||
// RUN: mlir-opt %s -transform-interpreter -test-transform-dialect-erase-schedule -convert-linalg-to-loops -convert-scf-to-cf \
|
// RUN: mlir-opt %s -transform-interpreter -test-transform-dialect-erase-schedule -convert-linalg-to-loops -convert-scf-to-cf \
|
||||||
// RUN: -expand-strided-metadata -lower-affine -convert-arith-to-llvm -convert-scf-to-cf --finalize-memref-to-llvm -convert-func-to-llvm -convert-cf-to-llvm -reconcile-unrealized-casts | \
|
// RUN: -expand-strided-metadata -lower-affine -convert-arith-to-llvm -convert-scf-to-cf --finalize-memref-to-llvm -convert-func-to-llvm -convert-cf-to-llvm -reconcile-unrealized-casts | \
|
||||||
// RUN: mlir-cpu-runner -e main -entry-point-result=void \
|
// RUN: mlir-runner -e main -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils \
|
// RUN: -shared-libs=%mlir_runner_utils \
|
||||||
// RUN: | FileCheck %s
|
// RUN: | FileCheck %s
|
||||||
|
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
// RUN: mlir-opt %s -test-transform-dialect-erase-schedule -convert-linalg-to-loops -convert-scf-to-cf -expand-strided-metadata -lower-affine -convert-arith-to-llvm -convert-scf-to-cf --finalize-memref-to-llvm -convert-func-to-llvm -convert-cf-to-llvm -reconcile-unrealized-casts | \
|
// RUN: mlir-opt %s -test-transform-dialect-erase-schedule -convert-linalg-to-loops -convert-scf-to-cf -expand-strided-metadata -lower-affine -convert-arith-to-llvm -convert-scf-to-cf --finalize-memref-to-llvm -convert-func-to-llvm -convert-cf-to-llvm -reconcile-unrealized-casts | \
|
||||||
// RUN: mlir-cpu-runner -e main -entry-point-result=void \
|
// RUN: mlir-runner -e main -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils \
|
// RUN: -shared-libs=%mlir_runner_utils \
|
||||||
// RUN: | FileCheck %s
|
// RUN: | FileCheck %s
|
||||||
|
|
||||||
// RUN: mlir-opt %s -transform-interpreter -test-transform-dialect-erase-schedule -convert-linalg-to-loops -convert-scf-to-cf \
|
// RUN: mlir-opt %s -transform-interpreter -test-transform-dialect-erase-schedule -convert-linalg-to-loops -convert-scf-to-cf \
|
||||||
// RUN: -expand-strided-metadata -lower-affine -convert-arith-to-llvm -convert-scf-to-cf --finalize-memref-to-llvm -convert-func-to-llvm -convert-cf-to-llvm -reconcile-unrealized-casts | \
|
// RUN: -expand-strided-metadata -lower-affine -convert-arith-to-llvm -convert-scf-to-cf --finalize-memref-to-llvm -convert-func-to-llvm -convert-cf-to-llvm -reconcile-unrealized-casts | \
|
||||||
// RUN: mlir-cpu-runner -e main -entry-point-result=void \
|
// RUN: mlir-runner -e main -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils \
|
// RUN: -shared-libs=%mlir_runner_utils \
|
||||||
// RUN: | FileCheck %s
|
// RUN: | FileCheck %s
|
||||||
|
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
// RUN: mlir-opt %s -test-transform-dialect-erase-schedule -convert-linalg-to-loops -convert-scf-to-cf -expand-strided-metadata -lower-affine -convert-arith-to-llvm -convert-scf-to-cf --finalize-memref-to-llvm -convert-func-to-llvm -convert-cf-to-llvm -reconcile-unrealized-casts | \
|
// RUN: mlir-opt %s -test-transform-dialect-erase-schedule -convert-linalg-to-loops -convert-scf-to-cf -expand-strided-metadata -lower-affine -convert-arith-to-llvm -convert-scf-to-cf --finalize-memref-to-llvm -convert-func-to-llvm -convert-cf-to-llvm -reconcile-unrealized-casts | \
|
||||||
// RUN: mlir-cpu-runner -e main -entry-point-result=void \
|
// RUN: mlir-runner -e main -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils \
|
// RUN: -shared-libs=%mlir_runner_utils \
|
||||||
// RUN: | FileCheck %s
|
// RUN: | FileCheck %s
|
||||||
|
|
||||||
// RUN: mlir-opt %s -transform-interpreter -test-transform-dialect-erase-schedule -convert-linalg-to-loops -convert-scf-to-cf \
|
// RUN: mlir-opt %s -transform-interpreter -test-transform-dialect-erase-schedule -convert-linalg-to-loops -convert-scf-to-cf \
|
||||||
// RUN: -expand-strided-metadata -lower-affine -convert-arith-to-llvm -convert-scf-to-cf --finalize-memref-to-llvm -convert-func-to-llvm -convert-cf-to-llvm -reconcile-unrealized-casts | \
|
// RUN: -expand-strided-metadata -lower-affine -convert-arith-to-llvm -convert-scf-to-cf --finalize-memref-to-llvm -convert-func-to-llvm -convert-cf-to-llvm -reconcile-unrealized-casts | \
|
||||||
// RUN: mlir-cpu-runner -e main -entry-point-result=void \
|
// RUN: mlir-runner -e main -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils \
|
// RUN: -shared-libs=%mlir_runner_utils \
|
||||||
// RUN: | FileCheck %s
|
// RUN: | FileCheck %s
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
// RUN: -canonicalize -buffer-deallocation-pipeline -convert-bufferization-to-memref -convert-linalg-to-loops \
|
// RUN: -canonicalize -buffer-deallocation-pipeline -convert-bufferization-to-memref -convert-linalg-to-loops \
|
||||||
// RUN: -convert-scf-to-cf -convert-arith-to-llvm -convert-cf-to-llvm --finalize-memref-to-llvm \
|
// RUN: -convert-scf-to-cf -convert-arith-to-llvm -convert-cf-to-llvm --finalize-memref-to-llvm \
|
||||||
// RUN: -convert-func-to-llvm -reconcile-unrealized-casts | \
|
// RUN: -convert-func-to-llvm -reconcile-unrealized-casts | \
|
||||||
// RUN: mlir-cpu-runner -e main -entry-point-result=void \
|
// RUN: mlir-runner -e main -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils \
|
// RUN: -shared-libs=%mlir_runner_utils \
|
||||||
// RUN: | FileCheck %s
|
// RUN: | FileCheck %s
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
// RUN: -buffer-deallocation-pipeline -convert-bufferization-to-memref \
|
// RUN: -buffer-deallocation-pipeline -convert-bufferization-to-memref \
|
||||||
// RUN: -convert-scf-to-cf -expand-strided-metadata -lower-affine -convert-cf-to-llvm -convert-arith-to-llvm \
|
// RUN: -convert-scf-to-cf -expand-strided-metadata -lower-affine -convert-cf-to-llvm -convert-arith-to-llvm \
|
||||||
// RUN: -finalize-memref-to-llvm -convert-func-to-llvm -reconcile-unrealized-casts | \
|
// RUN: -finalize-memref-to-llvm -convert-func-to-llvm -reconcile-unrealized-casts | \
|
||||||
// RUN: mlir-cpu-runner -e main -entry-point-result=void \
|
// RUN: mlir-runner -e main -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils,%mlir_c_runner_utils \
|
// RUN: -shared-libs=%mlir_runner_utils,%mlir_c_runner_utils \
|
||||||
// RUN: | FileCheck %s
|
// RUN: | FileCheck %s
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
// RUN: mlir-opt %s -transform-interpreter -test-transform-dialect-erase-schedule -one-shot-bufferize="bufferize-function-boundaries" -buffer-deallocation-pipeline -lower-vector-mask --test-lower-to-llvm | \
|
// RUN: mlir-opt %s -transform-interpreter -test-transform-dialect-erase-schedule -one-shot-bufferize="bufferize-function-boundaries" -buffer-deallocation-pipeline -lower-vector-mask --test-lower-to-llvm | \
|
||||||
// RUN: mlir-cpu-runner -e main -entry-point-result=void --shared-libs=%mlir_c_runner_utils,%mlir_runner_utils | \
|
// RUN: mlir-runner -e main -entry-point-result=void --shared-libs=%mlir_c_runner_utils,%mlir_runner_utils | \
|
||||||
// RUN: FileCheck %s
|
// RUN: FileCheck %s
|
||||||
|
|
||||||
func.func private @printMemrefF32(%ptr : tensor<*xf32>)
|
func.func private @printMemrefF32(%ptr : tensor<*xf32>)
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// RUN: mlir-opt -pass-pipeline="builtin.module(buffer-deallocation-pipeline,convert-bufferization-to-memref,func.func(convert-vector-to-scf,lower-affine,convert-linalg-to-loops))" |\
|
// RUN: mlir-opt -pass-pipeline="builtin.module(buffer-deallocation-pipeline,convert-bufferization-to-memref,func.func(convert-vector-to-scf,lower-affine,convert-linalg-to-loops))" |\
|
||||||
// RUN: mlir-opt -pass-pipeline="builtin.module(func.func(canonicalize,convert-scf-to-cf),convert-vector-to-llvm,expand-strided-metadata,lower-affine,convert-arith-to-llvm,finalize-memref-to-llvm,convert-func-to-llvm,convert-cf-to-llvm,reconcile-unrealized-casts)" | \
|
// RUN: mlir-opt -pass-pipeline="builtin.module(func.func(canonicalize,convert-scf-to-cf),convert-vector-to-llvm,expand-strided-metadata,lower-affine,convert-arith-to-llvm,finalize-memref-to-llvm,convert-func-to-llvm,convert-cf-to-llvm,reconcile-unrealized-casts)" | \
|
||||||
|
|
||||||
// RUN: mlir-cpu-runner -O3 -e main -entry-point-result=void \
|
// RUN: mlir-runner -O3 -e main -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils,%mlir_c_runner_utils |\
|
// RUN: -shared-libs=%mlir_runner_utils,%mlir_c_runner_utils |\
|
||||||
// RUN: FileCheck %s
|
// RUN: FileCheck %s
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
// RUN: -buffer-deallocation-pipeline -convert-bufferization-to-memref \
|
// RUN: -buffer-deallocation-pipeline -convert-bufferization-to-memref \
|
||||||
// RUN: -convert-linalg-to-loops -convert-scf-to-cf -expand-strided-metadata \
|
// RUN: -convert-linalg-to-loops -convert-scf-to-cf -expand-strided-metadata \
|
||||||
// RUN: -lower-affine -convert-arith-to-llvm -finalize-memref-to-llvm -convert-func-to-llvm -convert-cf-to-llvm -reconcile-unrealized-casts | \
|
// RUN: -lower-affine -convert-arith-to-llvm -finalize-memref-to-llvm -convert-func-to-llvm -convert-cf-to-llvm -reconcile-unrealized-casts | \
|
||||||
// RUN: mlir-cpu-runner -e main -entry-point-result=void \
|
// RUN: mlir-runner -e main -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils \
|
// RUN: -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils \
|
||||||
// RUN: | FileCheck %s
|
// RUN: | FileCheck %s
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
// RUN: -convert-linalg-to-loops -convert-scf-to-cf -expand-strided-metadata \
|
// RUN: -convert-linalg-to-loops -convert-scf-to-cf -expand-strided-metadata \
|
||||||
// RUN: -lower-affine -convert-arith-to-llvm --finalize-memref-to-llvm \
|
// RUN: -lower-affine -convert-arith-to-llvm --finalize-memref-to-llvm \
|
||||||
// RUN: -convert-func-to-llvm -reconcile-unrealized-casts | \
|
// RUN: -convert-func-to-llvm -reconcile-unrealized-casts | \
|
||||||
// RUN: mlir-cpu-runner -e main -entry-point-result=void \
|
// RUN: mlir-runner -e main -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils \
|
// RUN: -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils \
|
||||||
// RUN: | FileCheck %s
|
// RUN: | FileCheck %s
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
// RUN: -convert-linalg-to-loops -convert-scf-to-cf -expand-strided-metadata \
|
// RUN: -convert-linalg-to-loops -convert-scf-to-cf -expand-strided-metadata \
|
||||||
// RUN: -lower-affine -convert-arith-to-llvm --finalize-memref-to-llvm \
|
// RUN: -lower-affine -convert-arith-to-llvm --finalize-memref-to-llvm \
|
||||||
// RUN: -convert-func-to-llvm -reconcile-unrealized-casts | \
|
// RUN: -convert-func-to-llvm -reconcile-unrealized-casts | \
|
||||||
// RUN: mlir-cpu-runner -e main -entry-point-result=void \
|
// RUN: mlir-runner -e main -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils \
|
// RUN: -shared-libs=%mlir_runner_utils \
|
||||||
// RUN: | FileCheck %s
|
// RUN: | FileCheck %s
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// RUN: -one-shot-bufferize="bufferize-function-boundaries" \
|
// RUN: -one-shot-bufferize="bufferize-function-boundaries" \
|
||||||
// RUN: -buffer-deallocation-pipeline -convert-bufferization-to-memref -convert-linalg-to-loops \
|
// RUN: -buffer-deallocation-pipeline -convert-bufferization-to-memref -convert-linalg-to-loops \
|
||||||
// RUN: -convert-arith-to-llvm -convert-scf-to-cf -convert-cf-to-llvm --finalize-memref-to-llvm -convert-func-to-llvm -reconcile-unrealized-casts | \
|
// RUN: -convert-arith-to-llvm -convert-scf-to-cf -convert-cf-to-llvm --finalize-memref-to-llvm -convert-func-to-llvm -reconcile-unrealized-casts | \
|
||||||
// RUN: mlir-cpu-runner -e main -entry-point-result=void \
|
// RUN: mlir-runner -e main -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils \
|
// RUN: -shared-libs=%mlir_runner_utils \
|
||||||
// RUN: | FileCheck %s
|
// RUN: | FileCheck %s
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
// RUN: -one-shot-bufferize="bufferize-function-boundaries" \
|
// RUN: -one-shot-bufferize="bufferize-function-boundaries" \
|
||||||
// RUN: -buffer-deallocation-pipeline -convert-bufferization-to-memref -convert-linalg-to-loops -convert-scf-to-cf \
|
// RUN: -buffer-deallocation-pipeline -convert-bufferization-to-memref -convert-linalg-to-loops -convert-scf-to-cf \
|
||||||
// RUN: -expand-strided-metadata -lower-affine -convert-arith-to-llvm -convert-scf-to-cf --finalize-memref-to-llvm -convert-func-to-llvm -convert-cf-to-llvm -reconcile-unrealized-casts | \
|
// RUN: -expand-strided-metadata -lower-affine -convert-arith-to-llvm -convert-scf-to-cf --finalize-memref-to-llvm -convert-func-to-llvm -convert-cf-to-llvm -reconcile-unrealized-casts | \
|
||||||
// RUN: mlir-cpu-runner -e main -entry-point-result=void \
|
// RUN: mlir-runner -e main -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils \
|
// RUN: -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils \
|
||||||
// RUN: | FileCheck %s
|
// RUN: | FileCheck %s
|
||||||
|
|
||||||
@ -11,7 +11,7 @@
|
|||||||
// RUN: -one-shot-bufferize="bufferize-function-boundaries" \
|
// RUN: -one-shot-bufferize="bufferize-function-boundaries" \
|
||||||
// RUN: -convert-linalg-to-loops -convert-scf-to-cf -convert-scf-to-cf \
|
// RUN: -convert-linalg-to-loops -convert-scf-to-cf -convert-scf-to-cf \
|
||||||
// RUN: -expand-strided-metadata -lower-affine -convert-arith-to-llvm -convert-scf-to-cf --finalize-memref-to-llvm -convert-func-to-llvm -convert-cf-to-llvm -reconcile-unrealized-casts | \
|
// RUN: -expand-strided-metadata -lower-affine -convert-arith-to-llvm -convert-scf-to-cf --finalize-memref-to-llvm -convert-func-to-llvm -convert-cf-to-llvm -reconcile-unrealized-casts | \
|
||||||
// RUN: mlir-cpu-runner -e main -entry-point-result=void \
|
// RUN: mlir-runner -e main -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils \
|
// RUN: -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils \
|
||||||
// RUN: | FileCheck %s
|
// RUN: | FileCheck %s
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
// DEFINE: mlir-opt \
|
// DEFINE: mlir-opt \
|
||||||
// DEFINE: -test-lower-to-llvm -o %t
|
// DEFINE: -test-lower-to-llvm -o %t
|
||||||
// DEFINE: %{entry_point} = main
|
// DEFINE: %{entry_point} = main
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %t -e %{entry_point} -entry-point-result=void \
|
// DEFINE: %{run} = mlir-runner %t -e %{entry_point} -entry-point-result=void \
|
||||||
// DEFINE: -shared-libs=%mlir_runner_utils,%mlir_c_runner_utils
|
// DEFINE: -shared-libs=%mlir_runner_utils,%mlir_c_runner_utils
|
||||||
|
|
||||||
// RUN: rm -f %t && %{compile} && %{run} | FileCheck %s
|
// RUN: rm -f %t && %{compile} && %{run} | FileCheck %s
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
// RUN: convert-func-to-llvm, \
|
// RUN: convert-func-to-llvm, \
|
||||||
// RUN: convert-cf-to-llvm, \
|
// RUN: convert-cf-to-llvm, \
|
||||||
// RUN: reconcile-unrealized-casts)" \
|
// RUN: reconcile-unrealized-casts)" \
|
||||||
// RUN: | mlir-cpu-runner -e test_7i32_to_29 -entry-point-result=i32 | FileCheck %s --check-prefix=CHECK_TEST_7i32_TO_29
|
// RUN: | mlir-runner -e test_7i32_to_29 -entry-point-result=i32 | FileCheck %s --check-prefix=CHECK_TEST_7i32_TO_29
|
||||||
|
|
||||||
func.func @test_7i32_to_29() -> i32 {
|
func.func @test_7i32_to_29() -> i32 {
|
||||||
%arg = arith.constant 7 : i32
|
%arg = arith.constant 7 : i32
|
||||||
@ -21,7 +21,7 @@ func.func @test_7i32_to_29() -> i32 {
|
|||||||
// RUN: convert-func-to-llvm, \
|
// RUN: convert-func-to-llvm, \
|
||||||
// RUN: convert-cf-to-llvm, \
|
// RUN: convert-cf-to-llvm, \
|
||||||
// RUN: reconcile-unrealized-casts)" \
|
// RUN: reconcile-unrealized-casts)" \
|
||||||
// RUN: | mlir-cpu-runner -e test_zero -entry-point-result=i32 | FileCheck %s --check-prefix=CHECK_TEST_ZERO
|
// RUN: | mlir-runner -e test_zero -entry-point-result=i32 | FileCheck %s --check-prefix=CHECK_TEST_ZERO
|
||||||
|
|
||||||
func.func @test_zero() -> i32 {
|
func.func @test_zero() -> i32 {
|
||||||
%arg = arith.constant 0 : i32
|
%arg = arith.constant 0 : i32
|
||||||
@ -30,7 +30,7 @@ func.func @test_zero() -> i32 {
|
|||||||
}
|
}
|
||||||
// CHECK_TEST_ZERO: 32
|
// CHECK_TEST_ZERO: 32
|
||||||
|
|
||||||
// Apparently mlir-cpu-runner doesn't support i8 return values, so testing i64 instead
|
// Apparently mlir-runner doesn't support i8 return values, so testing i64 instead
|
||||||
// RUN: mlir-opt %s \
|
// RUN: mlir-opt %s \
|
||||||
// RUN: -pass-pipeline="builtin.module( \
|
// RUN: -pass-pipeline="builtin.module( \
|
||||||
// RUN: convert-math-to-funcs, \
|
// RUN: convert-math-to-funcs, \
|
||||||
@ -38,7 +38,7 @@ func.func @test_zero() -> i32 {
|
|||||||
// RUN: convert-func-to-llvm, \
|
// RUN: convert-func-to-llvm, \
|
||||||
// RUN: convert-cf-to-llvm, \
|
// RUN: convert-cf-to-llvm, \
|
||||||
// RUN: reconcile-unrealized-casts)" \
|
// RUN: reconcile-unrealized-casts)" \
|
||||||
// RUN: | mlir-cpu-runner -e test_7i64_to_61 -entry-point-result=i64 | FileCheck %s --check-prefix=CHECK_TEST_7i64_TO_61
|
// RUN: | mlir-runner -e test_7i64_to_61 -entry-point-result=i64 | FileCheck %s --check-prefix=CHECK_TEST_7i64_TO_61
|
||||||
|
|
||||||
func.func @test_7i64_to_61() -> i64 {
|
func.func @test_7i64_to_61() -> i64 {
|
||||||
%arg = arith.constant 7 : i64
|
%arg = arith.constant 7 : i64
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
// RUN: -convert-func-to-llvm \
|
// RUN: -convert-func-to-llvm \
|
||||||
// RUN: -convert-arith-to-llvm \
|
// RUN: -convert-arith-to-llvm \
|
||||||
// RUN: -reconcile-unrealized-casts | \
|
// RUN: -reconcile-unrealized-casts | \
|
||||||
// RUN: mlir-cpu-runner -e main -entry-point-result=void \
|
// RUN: mlir-runner -e main -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils 2>&1 | \
|
// RUN: -shared-libs=%mlir_runner_utils 2>&1 | \
|
||||||
// RUN: FileCheck %s
|
// RUN: FileCheck %s
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
// RUN: -convert-func-to-llvm \
|
// RUN: -convert-func-to-llvm \
|
||||||
// RUN: -convert-arith-to-llvm \
|
// RUN: -convert-arith-to-llvm \
|
||||||
// RUN: -reconcile-unrealized-casts | \
|
// RUN: -reconcile-unrealized-casts | \
|
||||||
// RUN: mlir-cpu-runner -e main -entry-point-result=void \
|
// RUN: mlir-runner -e main -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils 2>&1 | \
|
// RUN: -shared-libs=%mlir_runner_utils 2>&1 | \
|
||||||
// RUN: FileCheck %s
|
// RUN: FileCheck %s
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// RUN: -one-shot-bufferize="bufferize-function-boundaries" --canonicalize \
|
// RUN: -one-shot-bufferize="bufferize-function-boundaries" --canonicalize \
|
||||||
// RUN: -finalize-memref-to-llvm\
|
// RUN: -finalize-memref-to-llvm\
|
||||||
// RUN: -convert-func-to-llvm -reconcile-unrealized-casts |\
|
// RUN: -convert-func-to-llvm -reconcile-unrealized-casts |\
|
||||||
// RUN: mlir-cpu-runner \
|
// RUN: mlir-runner \
|
||||||
// RUN: -e entry -entry-point-result=void \
|
// RUN: -e entry -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils |\
|
// RUN: -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils |\
|
||||||
// RUN: FileCheck %s
|
// RUN: FileCheck %s
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
// RUN: -convert-func-to-llvm \
|
// RUN: -convert-func-to-llvm \
|
||||||
// RUN: -convert-arith-to-llvm \
|
// RUN: -convert-arith-to-llvm \
|
||||||
// RUN: -reconcile-unrealized-casts | \
|
// RUN: -reconcile-unrealized-casts | \
|
||||||
// RUN: mlir-cpu-runner -e main -entry-point-result=void \
|
// RUN: mlir-runner -e main -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils 2>&1 | \
|
// RUN: -shared-libs=%mlir_runner_utils 2>&1 | \
|
||||||
// RUN: FileCheck %s
|
// RUN: FileCheck %s
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
// RUN: -convert-func-to-llvm \
|
// RUN: -convert-func-to-llvm \
|
||||||
// RUN: -convert-arith-to-llvm \
|
// RUN: -convert-arith-to-llvm \
|
||||||
// RUN: -reconcile-unrealized-casts | \
|
// RUN: -reconcile-unrealized-casts | \
|
||||||
// RUN: mlir-cpu-runner -e main -entry-point-result=void \
|
// RUN: mlir-runner -e main -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_runner_utils 2>&1 | \
|
// RUN: -shared-libs=%mlir_runner_utils 2>&1 | \
|
||||||
// RUN: FileCheck %s
|
// RUN: FileCheck %s
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
// RUN: -one-shot-bufferize="bufferize-function-boundaries" --canonicalize \
|
// RUN: -one-shot-bufferize="bufferize-function-boundaries" --canonicalize \
|
||||||
// RUN: -convert-vector-to-scf -convert-scf-to-cf -convert-vector-to-llvm -finalize-memref-to-llvm\
|
// RUN: -convert-vector-to-scf -convert-scf-to-cf -convert-vector-to-llvm -finalize-memref-to-llvm\
|
||||||
// RUN: -convert-func-to-llvm -reconcile-unrealized-casts |\
|
// RUN: -convert-func-to-llvm -reconcile-unrealized-casts |\
|
||||||
// RUN: mlir-cpu-runner \
|
// RUN: mlir-runner \
|
||||||
// RUN: -e entry -entry-point-result=void \
|
// RUN: -e entry -entry-point-result=void \
|
||||||
// RUN: -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils |\
|
// RUN: -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils |\
|
||||||
// RUN: FileCheck %s
|
// RUN: FileCheck %s
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
|
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
|
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
|
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||||
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
// DEFINE: %{run_libs_sve} = -shared-libs=%native_mlir_runner_utils,%native_mlir_c_runner_utils
|
||||||
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
// DEFINE: %{run_opts} = -e main -entry-point-result=void
|
||||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
// DEFINE: %{run} = mlir-runner %{run_opts} %{run_libs}
|
||||||
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
// DEFINE: %{run_sve} = %mcr_aarch64_cmd --march=aarch64 --mattr="+sve" %{run_opts} %{run_libs_sve}
|
||||||
//
|
//
|
||||||
// DEFINE: %{env} =
|
// DEFINE: %{env} =
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user