4 Commits

Author SHA1 Message Date
Quentin Colombet
add43ff180 Re-apply "[mlir][SparseTensor] Add a few more tests for sparse vectorization"
This reverts commit 93f40c983e0adbb63cbb7c59814090134d691dd1.

Update the tests to also work on window.
The order in which the `arith.constant`s appear in the output IR is
slightly different between window and linux.
Use CHECK.*-DAG for the constants.

Original message:
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

Differential Revision: https://reviews.llvm.org/D141369
2023-01-13 13:02:19 +00:00
Quentin Colombet
93f40c983e Revert "[mlir][SparseTensor] Add a few more tests for sparse vectorization"
This reverts commit 904f2ccc3ba1d3aaf94140aa4595fd41af67d897.

This breaks a window bot. Reverting while I investigate.
https://lab.llvm.org/buildbot/#/builders/13/builds/30748
2023-01-13 10:30:09 +00:00
Quentin Colombet
904f2ccc3b [mlir][SparseTensor] Add a few more tests for sparse vectorization
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

Differential Revision: https://reviews.llvm.org/D141369
2023-01-13 09:42:07 +00:00
Quentin Colombet
a0220ba721 [mlir][SparseTensor] Add a few tests for sparse vectorization
These tests covers mulf, ori, and subi.

NFC

Differential Revision: https://reviews.llvm.org/D139625
2022-12-14 18:59:26 +00:00