SuccessChanges

Summary

  1. [mlir][Linalg] Add canonicalization to remove no-op linalg operations. (details)
  2. [SLP] remove unnecessary state in matching reductions (details)
Commit 722ae10907e06a0bafa00c557e5242b53419a3ce by ravishankarm
[mlir][Linalg] Add canonicalization to remove no-op linalg operations.

linalg.generic/indexed_generic operations on tensors whose body is
just yielding the (non-induction variable) arguments of the operation
can be canonicalized by replacing uses of the result with the
corresponding arguments.

Differential Revision: https://reviews.llvm.org/D94581
The file was modifiedmlir/test/Dialect/Linalg/canonicalize.mlir
The file was modifiedmlir/lib/Dialect/Linalg/IR/LinalgOps.cpp
Commit b21905dfe3797289791443661540b72cb43dfdf3 by spatel
[SLP] remove unnecessary state in matching reductions

This is NFC-intended. I'm still trying to figure out
how the loop where this is used works. It does not
seem like we require this data at all, but it's
hard to confirm given the complicated predicates.
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp