[all-commits] [llvm/llvm-project] 5f8cef: [mlir][vector] Fix crash in vector.reduction canon...

Thomas via All-commits all-commits at lists.llvm.org
Tue Jul 12 16:15:49 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f8cefebd900bbbd96961162ed9b80056e2ab95f
      https://github.com/llvm/llvm-project/commit/5f8cefebd900bbbd96961162ed9b80056e2ab95f
  Author: Thomas Raoux <thomasraoux at google.com>
  Date:   2022-07-12 (Tue, 12 Jul 2022)

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

  Log Message:
  -----------
  [mlir][vector] Fix crash in vector.reduction canonicalization

since vector.reduce support accumulator in all the cases remove the
assert assuming old definition.

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




More information about the All-commits mailing list