[all-commits] [llvm/llvm-project] 9c3d3e: [mlir] vector.multi_reduction canonicalizes to vec...

Murali Vijayaraghavan via All-commits all-commits at lists.llvm.org
Wed Oct 5 17:19:41 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9c3d3eeb51b7a3f6428bab7bd46452ce18029060
      https://github.com/llvm/llvm-project/commit/9c3d3eeb51b7a3f6428bab7bd46452ce18029060
  Author: Murali Vijayaraghavan <muralivi at google.com>
  Date:   2022-10-06 (Thu, 06 Oct 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
    M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
    M mlir/test/Dialect/Vector/canonicalize.mlir

  Log Message:
  -----------
  [mlir] vector.multi_reduction canonicalizes to vector.shape_cast (or
vector.extract, if the result is a scalar) only if all reduction
dimensions are of size 1.

Differential Revision: https://reviews.llvm.org/D135333




More information about the All-commits mailing list