This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse] Adding Action::kSparseToSparse for @newSparseTensor
ClosedPublic

Authored by wrengr on Mar 18 2022, 8:00 PM.

Details

Summary

This is work towards: https://github.com/llvm/llvm-project/issues/51652

This differential doesn't yet make use of the new kSparseToSparse, just introduces it. The differential that finally makes use of them is D122061, which is the final differential in the chain that fixes bug 51652.

Depends On D122054

Diff Detail

Event Timeline

wrengr created this revision.Mar 18 2022, 8:00 PM
wrengr requested review of this revision.Mar 18 2022, 8:00 PM
wrengr edited the summary of this revision. (Show Details)Mar 21 2022, 1:24 PM
aartbik accepted this revision.Mar 21 2022, 3:43 PM

Our CASE macro asserts in the else branch on expected enum, so this change is safe and good go.

This revision is now accepted and ready to land.Mar 21 2022, 3:43 PM
wrengr updated this revision to Diff 417162.Mar 21 2022, 7:09 PM

rebasing for changes to D122054