HomePhabricator

[mlir][Linalg] Enable vectorization of explicit broadcasts

Authored by dcaballe on Oct 12 2021, 1:58 PM.

Description

[mlir][Linalg] Enable vectorization of explicit broadcasts

This patch teaches isProjectedPermutation and inverseAndBroadcastProjectedPermutation
utilities to deal with maps representing an explicit broadcast, e.g., (d0, d1) -> (d0, 0).
This extension is needed to enable vectorization of such explicit broadcast in Linalg.

Reviewed By: pifon2a, nicolasvasilache

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

Details

Committed
dcaballeOct 12 2021, 2:08 PM
Reviewer
pifon2a
Differential Revision
D111563: [mlir][Linalg] Enable vectorization of explicit broadcasts
Parents
rGf09dce564e9c: [lld] fix typos to cycle bots
Branches
Unknown
Tags
Unknown