These tests cover muli, xor, and, addf, subf, and addi.
The tests themselves are not that interesting, their goal is to provide
code coverage for all the types of reductions currently supported.
NFC
Paths
| Differential D141369
[mlir][SparseTensor] Add a few more tests for sparse vectorization ClosedPublic Authored by qcolombet on Jan 10 2023, 3:48 AM.
Details Summary These tests cover muli, xor, and, addf, subf, and addi. The tests themselves are not that interesting, their goal is to provide NFC
Diff Detail
Event TimelineHerald added subscribers: • pcwang-thead, stephenneuendorffer, nicolasvasilache. · View Herald Transcript This revision is now accepted and ready to land.Jan 10 2023, 9:11 AM Comment Actions Could you reformat the CHECK blocks so they don't have so much leading whitespace between the CHECK and the code?
Comment Actions
Comment Actions
@wrengr Done! (Note: the check lines were actually auto generated, so the formatting issue may pop back up if we ever auto update the tests.) This revision was landed with ongoing or failed builds.Jan 13 2023, 1:46 AM Closed by commit rG904f2ccc3ba1: [mlir][SparseTensor] Add a few more tests for sparse vectorization (authored by qcolombet). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 487738 mlir/test/Dialect/SparseTensor/vectorize_reduction.mlir
|
I'd add a newline before this, to separate it from the CHECK stuff. (Usually we don't have a blank line, but then usually we have the func.func op immediately after its corresponding CHECK stuff.)