HomePhabricator

[MLIR][Linalg] Generalize splat constant folding

Authored by frgossen on Apr 26 2021, 8:37 AM.

Description

[MLIR][Linalg] Generalize splat constant folding

Splat constant folding was limited to std.constant operations. Instead, use
the constant matcher and apply splat constant folding to any constant-like
operation that holds a splat attribute.

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

Details

Committed
frgossenApr 27 2021, 12:08 AM
Differential Revision
D101301: [MLIR][Linalg] Generalize splat constant folding
Parents
rG3a3fbbe21720: [Fuchsia] Use correct target triple for ARM
Branches
Unknown
Tags
Unknown