llvm-project/mlir/lib/Dialect/SparseTensor/Transforms
Aart Bik 622eb169f6 [mlir][sparse] add restrictive versions of division support
Right now, we only accept x/c with nonzero c, since this
conceptually can be treated as a x*(1/c) conjunction for both
FP and INT as far as lattice computations go. The codegen
keeps the division though to preserve precise semantics.

See discussion:
https://llvm.discourse.group/t/sparse-tensors-in-mlir/3389/28

Reviewed By: gussmith23

Differential Revision: https://reviews.llvm.org/D105731
2021-07-12 14:59:48 -07:00
..
CMakeLists.txt [MLIR][Sparse] Refactor lattice code into its own file 2021-06-24 23:03:44 +00:00
SparseTensorConversion.cpp [mlir][tensor] Add tensor.dim operation 2021-07-01 10:00:19 +09:00
SparseTensorPasses.cpp [mlir][sparse] add option for 32-bit indices in scatter/gather 2021-06-04 16:57:12 -07:00
Sparsification.cpp [mlir][sparse] add restrictive versions of division support 2021-07-12 14:59:48 -07:00