mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-26 05:18:46 +00:00
Changed all code and comments that used the phrase "sparse compiler" to instead use "sparsifier" (#71875)
The changes in this p.r. mostly center around the tests that use the flag sparse_compiler (also: sparse-compiler).
This commit is contained in:
parent
0901f918da
commit
dce7a7cf69
@ -15,7 +15,7 @@ def setup_passes(mlir_module):
|
||||
"parallelization-strategy=none"
|
||||
" vectorization-strategy=none vl=1 enable-simd-index32=False"
|
||||
)
|
||||
pipeline = f"sparse-compiler{{{opt}}}"
|
||||
pipeline = f"sparsifier{{{opt}}}"
|
||||
PassManager.parse(pipeline).run(mlir_module)
|
||||
|
||||
|
||||
|
@ -23,7 +23,7 @@ namespace sparse_tensor {
|
||||
///
|
||||
/// (1) To provide a uniform API for querying aspects of sparse-tensor
|
||||
/// types; in particular, to make the "dimension" vs "level" distinction
|
||||
/// overt (i.e., explicit everywhere). Thus, throughout the sparse-compiler
|
||||
/// overt (i.e., explicit everywhere). Thus, throughout the sparsifier
|
||||
/// this class should be preferred over using `RankedTensorType` or
|
||||
/// `ShapedType` directly, since the methods of the latter do not make
|
||||
/// the "dimension" vs "level" distinction overt.
|
||||
@ -34,7 +34,7 @@ namespace sparse_tensor {
|
||||
/// That is, we want to manipulate dense-tensor types using the same API
|
||||
/// that we use for manipulating sparse-tensor types; both to keep the
|
||||
/// "dimension" vs "level" distinction overt, and to avoid needing to
|
||||
/// handle certain cases specially in the sparse-compiler.
|
||||
/// handle certain cases specially in the sparsifier.
|
||||
///
|
||||
/// (3) To provide uniform handling of "defaults". In particular
|
||||
/// this means that dense-tensors should always return the same answers
|
||||
|
@ -23,12 +23,11 @@ using namespace llvm::cl;
|
||||
namespace mlir {
|
||||
namespace sparse_tensor {
|
||||
|
||||
/// Options for the "sparse-compiler" pipeline. So far this only contains
|
||||
/// Options for the "sparsifier" pipeline. So far this only contains
|
||||
/// a subset of the options that can be set for the underlying passes,
|
||||
/// because it must be manually kept in sync with the tablegen files
|
||||
/// for those passes.
|
||||
struct SparseCompilerOptions
|
||||
: public PassPipelineOptions<SparseCompilerOptions> {
|
||||
struct SparsifierOptions : public PassPipelineOptions<SparsifierOptions> {
|
||||
// These options must be kept in sync with `SparsificationBase`.
|
||||
// TODO(57514): These options are duplicated in Passes.td.
|
||||
PassOptions::Option<mlir::SparseParallelizationStrategy> parallelization{
|
||||
@ -164,15 +163,14 @@ struct SparseCompilerOptions
|
||||
// Building and Registering.
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
/// Adds the "sparse-compiler" pipeline to the `OpPassManager`. This
|
||||
/// Adds the "sparsifier" pipeline to the `OpPassManager`. This
|
||||
/// is the standard pipeline for taking sparsity-agnostic IR using
|
||||
/// the sparse-tensor type and lowering it to LLVM IR with concrete
|
||||
/// representations and algorithms for sparse tensors.
|
||||
void buildSparseCompiler(OpPassManager &pm,
|
||||
const SparseCompilerOptions &options);
|
||||
void buildSparsifier(OpPassManager &pm, const SparsifierOptions &options);
|
||||
|
||||
/// Registers all pipelines for the `sparse_tensor` dialect. At present,
|
||||
/// this includes only "sparse-compiler".
|
||||
/// this includes only "sparsifier".
|
||||
void registerSparseTensorPipelines();
|
||||
|
||||
} // namespace sparse_tensor
|
||||
|
@ -29,9 +29,10 @@
|
||||
// Pipeline implementation.
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
void mlir::sparse_tensor::buildSparseCompiler(
|
||||
OpPassManager &pm, const SparseCompilerOptions &options) {
|
||||
void mlir::sparse_tensor::buildSparsifier(OpPassManager &pm,
|
||||
const SparsifierOptions &options) {
|
||||
// Rewrite named linalg ops into generic ops.
|
||||
|
||||
pm.addNestedPass<func::FuncOp>(createLinalgGeneralizationPass());
|
||||
|
||||
// Sparsification and bufferization mini-pipeline.
|
||||
@ -108,10 +109,10 @@ void mlir::sparse_tensor::buildSparseCompiler(
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
void mlir::sparse_tensor::registerSparseTensorPipelines() {
|
||||
PassPipelineRegistration<SparseCompilerOptions>(
|
||||
"sparse-compiler",
|
||||
PassPipelineRegistration<SparsifierOptions>(
|
||||
"sparsifier",
|
||||
"The standard pipeline for taking sparsity-agnostic IR using the"
|
||||
" sparse-tensor type, and lowering it to LLVM IR with concrete"
|
||||
" representations and algorithms for sparse tensors.",
|
||||
buildSparseCompiler);
|
||||
buildSparsifier);
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
// RUN: mlir-opt %s --sparse-compiler="enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true"
|
||||
// RUN: mlir-opt %s --sparsifier="enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true"
|
||||
|
||||
#MAT_D_C = #sparse_tensor.encoding<{
|
||||
map = (d0, d1) -> (d0 : dense, d1 : compressed)
|
||||
|
@ -1,4 +1,4 @@
|
||||
// RUN: mlir-opt %s -sparse-compiler="vl=8" | FileCheck %s
|
||||
// RUN: mlir-opt %s -sparsifier="vl=8" | FileCheck %s
|
||||
|
||||
#Dense = #sparse_tensor.encoding<{
|
||||
map = (d0, d1) -> (d0 : dense, d1 : dense)
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -22,7 +22,7 @@
|
||||
//
|
||||
// TODO: enable!
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// R_UN: %{compile} | env %{env} %{run} | FileCheck %s
|
||||
|
||||
!Filename = !llvm.ptr
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=4 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=4 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
|
||||
#MAT_C_C = #sparse_tensor.encoding<{map = (d0, d1) -> (d0 : compressed, d1 : compressed)}>
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -21,11 +21,11 @@
|
||||
// RUN: %{compile} | env %{env} %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | env %{env} %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | env %{env} %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
|
||||
// UNSUPPORTED: target=aarch64{{.*}}
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -22,11 +22,11 @@
|
||||
// RUN: %{compile} | %{env} %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{env} %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{env} %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,12 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -17,11 +17,11 @@
|
||||
// DEFINE: %{env} =
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,12 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,12 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,12 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,12 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -17,12 +17,12 @@
|
||||
// DEFINE: %{env} =
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -17,15 +17,15 @@
|
||||
// DEFINE: %{env} =
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -22,7 +22,7 @@
|
||||
//
|
||||
// TODO: enable!
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// R_UN: %{compile} | env %{env} %{run} | FileCheck %s
|
||||
|
||||
!Filename = !llvm.ptr
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -21,11 +21,11 @@
|
||||
// RUN: %{compile} | env %{env} %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | env %{env} %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | env %{env} %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -17,7 +17,7 @@
|
||||
// DEFINE: %{env} =
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -17,11 +17,11 @@
|
||||
// DEFINE: %{env} =
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -17,11 +17,11 @@
|
||||
// DEFINE: %{env} =
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,7 +20,7 @@
|
||||
// RUN: %{compile} | env %{env} %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | env %{env} %{run} | FileCheck %s
|
||||
|
||||
#CSR_hi = #sparse_tensor.encoding<{
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,19 +20,19 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with parallelization strategy.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=true parallelization-strategy=any-storage-any-loop
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=true parallelization-strategy=any-storage-any-loop
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and parallelization strategy.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true parallelization-strategy=any-storage-any-loop
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true parallelization-strategy=any-storage-any-loop
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -17,7 +17,7 @@
|
||||
// DEFINE: %{env} =
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
|
||||
// TODO: support lib path.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -21,19 +21,19 @@
|
||||
// RUN: %{compile} | env %{env} %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | env %{env} %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with parallelization strategy.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=true parallelization-strategy=any-storage-any-loop
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=true parallelization-strategy=any-storage-any-loop
|
||||
// RUN: %{compile} | env %{env} %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and parallelization strategy.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false parallelization-strategy=any-storage-any-loop
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false parallelization-strategy=any-storage-any-loop
|
||||
// RUN: %{compile} | env %{env} %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | env %{env} %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and, if available, VLA
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -21,11 +21,11 @@
|
||||
// RUN: %{compile} | env %{env} %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | env %{env} %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | env %{env} %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and, if available, VLA
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -21,7 +21,7 @@
|
||||
// RUN: %{compile} | env %{env} %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | env %{env} %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and, if available, VLA
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -17,14 +17,15 @@
|
||||
// DEFINE: %{env} =
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
<<<<<<< HEAD
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -17,11 +17,11 @@
|
||||
// DEFINE: %{env} =
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
|
||||
#CCCC = #sparse_tensor.encoding<{ map = (d0, d1, d2, d3) -> (d0 : compressed, d1 : compressed, d2 : compressed, d3 : compressed), posWidth = 32, crdWidth = 32 }>
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
|
||||
// Product reductions - kept in a seperate file as these are not supported by
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
|
||||
#SV = #sparse_tensor.encoding<{ map = (d0) -> (d0 : compressed) }>
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
|
||||
#SV = #sparse_tensor.encoding<{ map = (d0) -> (d0 : compressed) }>
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -17,11 +17,11 @@
|
||||
// DEFINE: %{env} =
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -17,12 +17,12 @@
|
||||
// DEFINE: %{env} =
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -21,11 +21,11 @@
|
||||
// RUN: %{compile} | env %{env} %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | env %{env} %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | env %{env} %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and, if available, VLA
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=4
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=4
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=4
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=4
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=4 enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=4 enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=4 enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=4 enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=4 enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=4 enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -22,11 +22,11 @@
|
||||
// RUN: %{compile} | env %{env} %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | env %{env} %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=4 enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=4 enable-buffer-initialization=true
|
||||
// RUN: %{compile} | env %{env} %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -21,11 +21,11 @@
|
||||
// RUN: %{compile} | env %{env} %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | env %{env} %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | env %{env} %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation and VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -21,11 +21,11 @@
|
||||
// RUN: %{compile} | env %{env} %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | env %{env} %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | env %{env} %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -19,11 +19,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -21,11 +21,11 @@
|
||||
// RUN: %{compile} | env %{env} %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | env %{env} %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | env %{env} %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with VLA vectorization.
|
||||
@ -74,7 +74,7 @@ module {
|
||||
}
|
||||
|
||||
//
|
||||
// However, even better, the sparse compiler is able to insert such a
|
||||
// However, even better, the sparsifier is able to insert such a
|
||||
// conversion automatically to resolve a cycle in the iteration graph!
|
||||
//
|
||||
func.func @sparse_transpose_auto(%arga: tensor<3x4xf64, #DCSR>)
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -21,11 +21,11 @@
|
||||
// R_U_N: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with VLA vectorization.
|
||||
|
@ -5,10 +5,10 @@
|
||||
// config could be moved to lit.local.cfg. However, there are downstream users that
|
||||
// do not use these LIT config files. Hence why this is kept inline.
|
||||
//
|
||||
// DEFINE: %{sparse_compiler_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparse_compiler_opts_sve} = enable-arm-sve=true %{sparse_compiler_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparse-compiler="%{sparse_compiler_opts_sve}"
|
||||
// DEFINE: %{sparsifier_opts} = enable-runtime-library=true
|
||||
// DEFINE: %{sparsifier_opts_sve} = enable-arm-sve=true %{sparsifier_opts}
|
||||
// DEFINE: %{compile} = mlir-opt %s --sparsifier="%{sparsifier_opts}"
|
||||
// DEFINE: %{compile_sve} = mlir-opt %s --sparsifier="%{sparsifier_opts_sve}"
|
||||
// DEFINE: %{run_libs} = -shared-libs=%mlir_c_runner_utils,%mlir_runner_utils
|
||||
// DEFINE: %{run_opts} = -e entry -entry-point-result=void
|
||||
// DEFINE: %{run} = mlir-cpu-runner %{run_opts} %{run_libs}
|
||||
@ -20,11 +20,11 @@
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with direct IR generation.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with vectorization.
|
||||
// REDEFINE: %{sparse_compiler_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// REDEFINE: %{sparsifier_opts} = enable-runtime-library=false enable-buffer-initialization=true vl=2 reassociate-fp-reductions=true enable-index-optimizations=true
|
||||
// RUN: %{compile} | %{run} | FileCheck %s
|
||||
//
|
||||
// Do the same run, but now with VLA vectorization.
|
||||
|
@ -1,7 +1,7 @@
|
||||
// NOTE: this test requires gpu-sm80 and cusparselt
|
||||
//
|
||||
// DEFINE: %{compile} = mlir-opt %s \
|
||||
// DEFINE: --sparse-compiler="enable-gpu-libgen gpu-triple=nvptx64-nvidia-cuda gpu-chip=sm_80 gpu-features=+ptx71 gpu-format=%gpu_compilation_format
|
||||
// DEFINE: --sparsifier="enable-gpu-libgen gpu-triple=nvptx64-nvidia-cuda gpu-chip=sm_80 gpu-features=+ptx71 gpu-format=%gpu_compilation_format
|
||||
// DEFINE: %{run} = mlir-cpu-runner \
|
||||
// DEFINE: --shared-libs=%mlir_cuda_runtime \
|
||||
// DEFINE: --shared-libs=%mlir_c_runner_utils \
|
||||
|
@ -1,7 +1,7 @@
|
||||
// NOTE: this test requires gpu-sm80 and cusparselt
|
||||
//
|
||||
// DEFINE: %{compile} = mlir-opt %s \
|
||||
// DEFINE: --sparse-compiler="enable-gpu-libgen gpu-triple=nvptx64-nvidia-cuda gpu-chip=sm_80 gpu-features=+ptx71 gpu-format=%gpu_compilation_format
|
||||
// DEFINE: --sparsifier="enable-gpu-libgen gpu-triple=nvptx64-nvidia-cuda gpu-chip=sm_80 gpu-features=+ptx71 gpu-format=%gpu_compilation_format
|
||||
// DEFINE: %{run} = mlir-cpu-runner \
|
||||
// DEFINE: --shared-libs=%mlir_cuda_runtime \
|
||||
// DEFINE: --shared-libs=%mlir_c_runner_utils \
|
||||
|
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