HomePhabricator

[MLIR][Shape] Add canonicalizations for `shape.broadcast`

Authored by frgossen on Apr 22 2021, 5:09 AM.

Description

[MLIR][Shape] Add canonicalizations for shape.broadcast

Eliminate empty shapes from the operands, partially fold all constant shape
operands, and fix normal folding.

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

Details

Committed
frgossenApr 22 2021, 5:11 AM
Differential Revision
D100634: [MLIR][Shape] Add canonicalizations for `shape.broadcast`
Parents
rGe3dd82ae3c4e: [lldb] Don't leak LineSequence in PDB parsers
Branches
Unknown
Tags
Unknown