[all-commits] [llvm/llvm-project] a480d7: [mlir][vector] Fold transpose(broadcast(<scalar>))

Lei Zhang via All-commits all-commits at lists.llvm.org
Fri Apr 1 11:51:54 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a480d75fe48d6c4e0ab4ae5fbbf719c57f5ced35
      https://github.com/llvm/llvm-project/commit/a480d75fe48d6c4e0ab4ae5fbbf719c57f5ced35
  Author: Lei Zhang <antiagainst at google.com>
  Date:   2022-04-01 (Fri, 01 Apr 2022)

  Changed paths:
    M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
    M mlir/test/Dialect/Vector/canonicalize.mlir

  Log Message:
  -----------
  [mlir][vector] Fold transpose(broadcast(<scalar>))

For such cases, the transpose op can be elided.

Reviewed By: mravishankar

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




More information about the All-commits mailing list