[all-commits] [llvm/llvm-project] bbf1d8: [mlir][tensor] Fix transpose permutation in tensor...

Quinn Dawkins via All-commits all-commits at lists.llvm.org
Wed Feb 22 11:54:03 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bbf1d80d67db5076e4cd02caa754c0688239fe76
      https://github.com/llvm/llvm-project/commit/bbf1d80d67db5076e4cd02caa754c0688239fe76
  Author: Quinn Dawkins <quinn at nod-labs.com>
  Date:   2023-02-22 (Wed, 22 Feb 2023)

  Changed paths:
    M mlir/lib/Dialect/Linalg/Transforms/Transforms.cpp
    M mlir/test/Dialect/Linalg/generalize-tensor-pack.mlir

  Log Message:
  -----------
  [mlir][tensor] Fix transpose permutation in tensor.pack generalization pattern

The generalization pattern for tensor.pack was inverting the
innerDimsPos permutation when normalizing. Thus, the transpose op
produced by the generalization would be incorrect.

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




More information about the All-commits mailing list