[all-commits] [llvm/llvm-project] f16abe: [mlir][Vector] Add a folder for vector.broadcast
Han-Chung Wang via All-commits
all-commits at lists.llvm.org
Thu Sep 17 08:55:35 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: f16abe5f84eee8db18d5eb5a21ab543146626ea6
https://github.com/llvm/llvm-project/commit/f16abe5f84eee8db18d5eb5a21ab543146626ea6
Author: Hanhan Wang <hanchung at google.com>
Date: 2020-09-17 (Thu, 17 Sep 2020)
Changed paths:
M mlir/include/mlir/Dialect/Vector/VectorOps.td
M mlir/lib/Dialect/Vector/VectorOps.cpp
M mlir/test/Dialect/Linalg/transform-patterns-matmul-to-vector.mlir
M mlir/test/Dialect/Vector/canonicalize.mlir
Log Message:
-----------
[mlir][Vector] Add a folder for vector.broadcast
Fold the operation if the source is a scalar constant or splat constant.
Update transform-patterns-matmul-to-vector.mlir because the broadcast ops are folded in the conversion.
Reviewed By: aartbik
Differential Revision: https://reviews.llvm.org/D87703
More information about the All-commits
mailing list