HomePhabricator

[MLIR][Shape] Remove empty extent tensor operands

Authored by frgossen on Apr 27 2021, 5:50 AM.

Description

[MLIR][Shape] Remove empty extent tensor operands

Empty extent tensor operands were only removed when they were defined as a
constant. Additionally, we can remove them if they are known to be empty by
their type tensor<0xindex>.

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

Details

Committed
frgossenApr 27 2021, 5:51 AM
Differential Revision
D101351: [MLIR][Shape] Remove empty extent tensor operands
Parents
rGa950f66de25f: [LV,LAA] Add test cases with pointer phis in loops.
Branches
Unknown
Tags
Unknown