[all-commits] [llvm/llvm-project] 0650e1: [mlir][vector] Fix folding of vector.extract from ...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Mon Nov 28 07:17:45 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0650e1bcc05af64d25ad89f87b2e21b37fd88114
      https://github.com/llvm/llvm-project/commit/0650e1bcc05af64d25ad89f87b2e21b37fd88114
  Author: Nicolas Vasilache <nicolas.vasilache at gmail.com>
  Date:   2022-11-28 (Mon, 28 Nov 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] Fix folding of vector.extract from vector.broadcast

This revision fixes a bug in the vector.extract folding that was missing
handling the "dim-1" broadcasting case in vector.broadcast.

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




More information about the All-commits mailing list