HomePhabricator

[MLIR][Shape] Canonicalize casted extent tensor operands

Authored by frgossen on Apr 28 2021, 2:50 AM.

Description

[MLIR][Shape] Canonicalize casted extent tensor operands

Both, shape.broadcast and shape.cstr_broadcastable accept dynamic and static
extent tensors. If their operands are casted, we can use the original value
instead.

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

Details

Committed
frgossenApr 28 2021, 2:51 AM
Differential Revision
D101376: [MLIR][Shape] Canonicalize casted extent tensor operands
Parents
rGd5c24924552a: [PowerPC] Fix SELECT_CC with i64 operand on PPC32
Branches
Unknown
Tags
Unknown