llvm-project/mlir/test/Integration/Dialect
wren romano 2af2e4dbb7 [mlir][sparse] Breaking up openSparseTensor to better support non-permutations
This commit updates how the `SparseTensorConversion` pass handles `NewOp`.  It breaks up the underlying `openSparseTensor` function into two parts (`SparseTensorReader::create` and `SparseTensorReader::readSparseTensor`) so that the pass can inject code for constructing `lvlSizes` between those two parts.  Migrating the construction of `lvlSizes` out of the runtime and into the pass is a necessary first step toward fully supporting non-permutations.  (The alternative would be for the pass to generate a `FuncOp` for performing the construction and then passing that to the runtime; which doesn't seem to have any benefits over the design of this commit.)  And since the pass now generates the code to call these two functions, this change also removes the `Action::kFromFile` value from the enum used by `_mlir_ciface_newSparseTensor`.

Reviewed By: aartbik

Differential Revision: https://reviews.llvm.org/D138363
2022-12-02 11:10:57 -08:00
..
Arith/CPU [mlir][arith] Add Max*I and Min*I support to WIE 2022-11-17 13:36:15 -05:00
Async/CPU [MLIR] Switch lit tests to %mlir_lib_dir and %mlir_src_dir replacements. 2022-09-06 12:34:14 +02:00
Complex/CPU [mlir][aarch64] XFAIL correctness.mlir 2022-10-28 10:01:01 +00:00
LLVMIR/CPU [mlir] Initial MLIR VP intrinsic integration test on host and RVV emulator. 2022-11-22 17:30:24 +08:00
Linalg/CPU Re-apply "[mlir][MemRefToLLVM] Remove the code for lowering subview" 2022-12-02 15:26:58 +00:00
Memref [mlir][NFC] Update textual references of `func` to `func.func` in Integration tests 2022-04-20 22:17:29 -07:00
PDL/CPU [mlir:PDL] Fix a syntax ambiguity in pdl.attribute 2022-04-28 12:57:59 -07:00
SparseTensor [mlir][sparse] Breaking up openSparseTensor to better support non-permutations 2022-12-02 11:10:57 -08:00
Standard/CPU Re-apply "[mlir][MemRefToLLVM] Remove the code for lowering subview" 2022-12-02 15:26:58 +00:00
Vector Re-apply "[mlir][MemRefToLLVM] Remove the code for lowering subview" 2022-12-02 15:26:58 +00:00