[Mlir-commits] [mlir] [mlir][sparse] implement direct IR alloc/empty/new for non-permutations (PR #72585)

Peiming Liu llvmlistbot at llvm.org
Thu Nov 16 16:01:16 PST 2023


================
@@ -729,7 +730,6 @@ class SparseReMapConverter : public OpConversionPattern<ReinterpretMapOp> {
 };
 
 /// Sparse codegen rule for the alloc operator.
-/// TODO(springerm): remove when bufferization.alloc_tensor is gone
 class SparseTensorAllocConverter
     : public OpConversionPattern<bufferization::AllocTensorOp> {
----------------
PeimingLiu wrote:

This seems very similar to the converter for NewOp, is it possible to merge these two?

https://github.com/llvm/llvm-project/pull/72585


More information about the Mlir-commits mailing list