Page MenuHomePhabricator

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

Authored by frgossen on Apr 23 2021, 6:08 AM.

Details

Summary

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.

Diff Detail

Event Timeline

frgossen created this revision.Apr 23 2021, 6:08 AM
frgossen requested review of this revision.Apr 23 2021, 6:08 AM
silvas accepted this revision.Apr 23 2021, 10:25 AM
This revision is now accepted and ready to land.Apr 23 2021, 10:25 AM