This is an archive of the discontinued LLVM Phabricator instance.

[mlir][sparse] test for SIMD reduction chaining in consecutive vector loops
ClosedPublic

Authored by aartbik on Nov 4 2021, 9:34 AM.

Diff Detail

Event Timeline

aartbik created this revision.Nov 4 2021, 9:34 AM
aartbik requested review of this revision.Nov 4 2021, 9:34 AM
aartbik updated this revision to Diff 384927.Nov 4 2021, 5:44 PM

rebased with main (the parent revision is needed for this test to pass)

bixia accepted this revision.Nov 5 2021, 8:02 AM

Nice! I like the test.

mlir/test/Dialect/SparseTensor/sparse_vector_chain.mlir
7

Nit: SparseMatrix? Similar to the name of the test.

This revision is now accepted and ready to land.Nov 5 2021, 8:02 AM
aartbik marked an inline comment as done.Nov 5 2021, 9:33 AM
aartbik added inline comments.
mlir/test/Dialect/SparseTensor/sparse_vector_chain.mlir
7

Oh, good eye! Yes of course ;-)

aartbik updated this revision to Diff 385111.EditedNov 5 2021, 10:02 AM
aartbik marked an inline comment as done.

renamed vector -> matrix (note that the filename refers to "vectorization" ;-)