Differential D138915 Diff 479618 mlir/test/Dialect/SparseTensor/one_shot_bufferize_tensor_copy_insertion.mlir
Changeset View
Changeset View
Standalone View
Standalone View
mlir/test/Dialect/SparseTensor/one_shot_bufferize_tensor_copy_insertion.mlir
// RUN: mlir-opt %s -tensor-copy-insertion="allow-return-allocs" | FileCheck %s | // RUN: mlir-opt %s -test-tensor-copy-insertion="allow-return-allocs" | FileCheck %s | ||||
// RUN: mlir-opt %s -tensor-copy-insertion="bufferize-function-boundaries allow-return-allocs" | FileCheck %s --check-prefix=CHECK-FUNC | // RUN: mlir-opt %s -test-tensor-copy-insertion="bufferize-function-boundaries allow-return-allocs" | FileCheck %s --check-prefix=CHECK-FUNC | ||||
#DCSR = #sparse_tensor.encoding<{ | #DCSR = #sparse_tensor.encoding<{ | ||||
dimLevelType = [ "compressed", "compressed" ], | dimLevelType = [ "compressed", "compressed" ], | ||||
dimOrdering = affine_map<(i,j) -> (i,j)> | dimOrdering = affine_map<(i,j) -> (i,j)> | ||||
}> | }> | ||||
// CHECK-LABEL: func @bufferization_alloc_tensor | // CHECK-LABEL: func @bufferization_alloc_tensor | ||||
// CHECK-FUNC-LABEL: func @bufferization_alloc_tensor | // CHECK-FUNC-LABEL: func @bufferization_alloc_tensor | ||||
▲ Show 20 Lines • Show All 63 Lines • Show Last 20 Lines |