This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Cleanup LinalgOp usage in sparse compiler (NFC).
ClosedPublic

Authored by gysit on May 31 2021, 11:11 PM.

Details

Summary

Replace the uses of deprecated Structured Op Interface methods in Sparsification.cpp. This patch is based on https://reviews.llvm.org/D103394.

Diff Detail

Event Timeline

gysit created this revision.May 31 2021, 11:11 PM
gysit requested review of this revision.May 31 2021, 11:11 PM
nicolasvasilache accepted this revision.Jun 1 2021, 12:42 AM
This revision is now accepted and ready to land.Jun 1 2021, 12:42 AM
aartbik accepted this revision.Jun 1 2021, 8:49 AM
aartbik added inline comments.
mlir/lib/Dialect/SparseTensor/Transforms/Sparsification.cpp
567

why is this hoisted so far before its use?

gysit updated this revision to Diff 349181.Jun 1 2021, 11:19 PM

Address comment.

gysit marked an inline comment as done.Jun 1 2021, 11:19 PM