bixia1
9409bbb2e0
[mlir][sparse] Implement insertion sort for the stable sort operator.
...
Reviewed By: aartbik
Differential Revision: https://reviews.llvm.org/D135182
2022-10-06 09:48:39 -07:00
bixia1
1c835b5a8e
[mlir][sparse] Allow the push_back operator to skip capacity check and reallocation.
...
Add UnitAttr `inbounds` for this purpose.
Reviewed By: aartbik
Differential Revision: https://reviews.llvm.org/D134913
2022-09-29 16:38:06 -07:00
bixia1
654bbbde55
[mlir][sparse] Move the implementation of sparse_tensor.push_back to the buffer rewriter.
...
Reviewed By: aartbik, Peiming
Differential Revision: https://reviews.llvm.org/D134777
2022-09-29 15:06:00 -07:00
Aart Bik
bfbf3bcb37
[mlir][sparse] fix build breakage due to Arith name change
...
Reviewed By: Peiming
Differential Revision: https://reviews.llvm.org/D134899
2022-09-29 12:12:43 -07:00
bixia1
062e515b70
[mlir][sparse] Add rewrite rule for the sort operator.
...
Add sparse-buffer-rewrite pass to rewrite sparse primitives on buffers to MLIR
implementation.
Add sparse rewrite rule for the sort operator.
Add FileCheck test and integration test.
Reviewed By: aartbik
Differential Revision: https://reviews.llvm.org/D134627
2022-09-29 11:38:19 -07:00