This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse] fix bugs when computing the memory size when lowering pack op.
ClosedPublic

Authored by Peiming on May 25 2023, 11:35 AM.

Diff Detail

Event Timeline

Peiming created this revision.May 25 2023, 11:35 AM
Herald added a project: Restricted Project. · View Herald Transcript
Peiming requested review of this revision.May 25 2023, 11:35 AM
Peiming updated this revision to Diff 525727.May 25 2023, 11:45 AM

fix check tests.

Peiming updated this revision to Diff 525729.May 25 2023, 11:49 AM

fix check tests.

aartbik accepted this revision.May 25 2023, 12:18 PM
aartbik added inline comments.
mlir/lib/Dialect/SparseTensor/Transforms/SparseTensorCodegen.cpp
1276

this assert already encapsulates L1281 assert

(but I am okay pedentically checking, but just in case you want to reduce it a bit)

This revision is now accepted and ready to land.May 25 2023, 12:18 PM
This revision was landed with ongoing or failed builds.May 25 2023, 12:20 PM
This revision was automatically updated to reflect the committed changes.