HomePhabricator

[mlir][Shape] Fix a crash when folding nary broadcast ops

Authored by bkramer on Feb 22 2021, 9:41 AM.

Description

[mlir][Shape] Fix a crash when folding nary broadcast ops

operands[2] can be nullptr here. I'm not able to build a lit test for
this because of the commutative reordering of operands. It's possible to
trigger this with a createOrFold<BroadcastOp> though.

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

Details

Committed
bkramerFeb 22 2021, 11:06 AM
Differential Revision
D97206: [mlir][Shape] Fix a crash when folding nary broadcast ops
Parents
rG55dff8b2e4f0: [OpenMP] Update HWLOC code for die level detection
Branches
Unknown
Tags
Unknown