HomePhabricator

[mlir][Vector] Add a folder for vector.broadcast

Authored by hanchung on Sep 17 2020, 8:54 AM.

Description

[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

Details

Committed
hanchungSep 17 2020, 8:54 AM
Reviewer
aartbik
Differential Revision
D87703: [mlir][Vector] Add a folder for vector.broadcast
Parents
rG7f1f89ec8d99: Fix build failure in clangd
Branches
Unknown
Tags
Unknown