HomePhabricator

[MLIR][Shape] Ensure to preserve op type of `shape.broadcast`

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

Description

[MLIR][Shape] Ensure to preserve op type of shape.broadcast

Ensure to preserve the correct type during when folding and canonicalization.
shape.broadcast of of a single operand can only be folded away if the argument
type is correct.

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

Details

Committed
frgossenApr 26 2021, 8:55 AM
Differential Revision
D101158: [MLIR][Shape] Ensure to preserve op type of `shape.broadcast`
Parents
rG18b03b008588: [libc++][NFC] Remove non-ASCII from comment.
Branches
Unknown
Tags
Unknown