This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse] add sparse matmul codegen check tests
ClosedPublic

Authored by aartbik on Nov 8 2022, 3:00 PM.

Details

Summary

This found an insertion point bug in access pattern expansion

Diff Detail

Event Timeline

aartbik created this revision.Nov 8 2022, 3:00 PM
Herald added a project: Restricted Project. · View Herald TranscriptNov 8 2022, 3:00 PM
aartbik requested review of this revision.Nov 8 2022, 3:00 PM
bixia accepted this revision.Nov 8 2022, 3:22 PM
bixia added inline comments.
mlir/test/Dialect/SparseTensor/sparse_matmul_codegen.mlir
2

Shall we add this first line to the beginning if the check is generated by the script?

// NOTE: Assertions have been autogenerated by utils/generate-test-checks.py

This revision is now accepted and ready to land.Nov 8 2022, 3:22 PM
aartbik marked an inline comment as done.Nov 8 2022, 3:34 PM
aartbik added inline comments.
mlir/test/Dialect/SparseTensor/sparse_matmul_codegen.mlir
2

I usually remove that when I made my own edits :-)
But I am okay adding it back....

aartbik updated this revision to Diff 474103.Nov 8 2022, 3:36 PM
aartbik marked an inline comment as done.

add note on autogen back

This revision was automatically updated to reflect the committed changes.