mirror of
https://github.com/intel/llvm.git
synced 2026-02-05 04:46:27 +08:00
[mlir][sparse] Implementing sparse=>dense conversion.
Depends On D110882, D110883, D110884 Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D110790
This commit is contained in:
@@ -118,7 +118,8 @@ struct SparseTensorConversionPass
|
||||
// The following operations and dialects may be introduced by the
|
||||
// rewriting rules, and are therefore marked as legal.
|
||||
target.addLegalOp<arith::CmpFOp, arith::CmpIOp, arith::ConstantOp,
|
||||
arith::IndexCastOp, tensor::ExtractOp>();
|
||||
arith::IndexCastOp, linalg::FillOp, linalg::YieldOp,
|
||||
tensor::ExtractOp>();
|
||||
target.addLegalDialect<LLVM::LLVMDialect, memref::MemRefDialect,
|
||||
scf::SCFDialect>();
|
||||
// Populate with rules and apply rewriting rules.
|
||||
|
||||
Reference in New Issue
Block a user