[all-commits] [llvm/llvm-project] 547904: [mlir][Vector] Fold transpose splat to splat with ...

Jianjian Guan via All-commits all-commits at lists.llvm.org
Sun Apr 17 20:00:48 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5479044bfcea20e77f57e6c29bc63c7e517d8b5a
  Author: jacquesguan <Jianjian.Guan at streamcomputing.com>
  Date:   2022-04-18 (Mon, 18 Apr 2022)

  Changed paths:
    M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
    M mlir/test/Dialect/Vector/canonicalize.mlir
    M mlir/test/Dialect/Vector/vector-transfer-to-vector-load-store.mlir

  Log Message:
  [mlir][Vector] Fold transpose splat to splat with transposed type.

This revision folds transpose splat to a new splat with the transposed vector type. For a splat, there is no need to actually do transpose for it, it would be more effective to just build a new splat as the result.

Reviewed By: ThomasRaoux

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

More information about the All-commits mailing list