[all-commits] [llvm/llvm-project] add43f: Re-apply "[mlir][SparseTensor] Add a few more test...

qcolombet via All-commits all-commits at lists.llvm.org
Fri Jan 13 05:09:00 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: add43ff1805d808dd4a6946218005395991884fe
      https://github.com/llvm/llvm-project/commit/add43ff1805d808dd4a6946218005395991884fe
  Author: Quentin Colombet <quentin.colombet at gmail.com>
  Date:   2023-01-13 (Fri, 13 Jan 2023)

  Changed paths:
    M mlir/test/Dialect/SparseTensor/vectorize_reduction.mlir

  Log Message:
  -----------
  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




More information about the All-commits mailing list