[all-commits] [llvm/llvm-project] 1a0453: [mlir][vector] Fix bug in extractOp folding

Thomas via All-commits all-commits at lists.llvm.org
Thu Dec 22 14:53:41 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a0453eb44cdf82df292d2da93092f0fa64043b9
      https://github.com/llvm/llvm-project/commit/1a0453eb44cdf82df292d2da93092f0fa64043b9
  Author: Thomas Raoux <thomasraoux at google.com>
  Date:   2022-12-22 (Thu, 22 Dec 2022)

  Changed paths:
    M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
    A mlir/test/Dialect/Vector/constant-fold.mlir

  Log Message:
  -----------
  [mlir][vector] Fix bug in extractOp folding

We were missing to check for transpose when folding.
Also add a new file to test folding independently of
canonicalization as canonicalization was hiding the bug.

Reviewed By: aartbik

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




More information about the All-commits mailing list