This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse] Add options to sparse-tensor-rewrite to disable rewriting rules for operators foreach and convert.
ClosedPublic

Authored by bixia on Oct 17 2022, 10:03 AM.

Details

Summary

This is to help simplify FileCheck tests for sparse-tensor-rewrite.

Diff Detail

Event Timeline

bixia created this revision.Oct 17 2022, 10:03 AM
Herald added a project: Restricted Project. · View Herald Transcript
bixia requested review of this revision.Oct 17 2022, 10:03 AM
aartbik accepted this revision.Oct 17 2022, 5:28 PM
aartbik added inline comments.
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorPasses.cpp
56

Not now, but if this grows, we may consider simply passing this in as a rewrite options struct

This revision is now accepted and ready to land.Oct 17 2022, 5:28 PM
bixia marked an inline comment as not done.Oct 18 2022, 8:43 AM
bixia added inline comments.
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorPasses.cpp
56

Yes, will keep this in mind.

This revision was automatically updated to reflect the committed changes.
bixia marked an inline comment as not done.