Both IndexType and IntegerTypes are now supported. This is needed to compute bounds for condition values of arith.select and scf.if.
Depends On: D143910
Paths
| Differential D146870
[mlir][Interfaces] ValueBoundsOpInterface: Support IntegerTypes Needs ReviewPublic Authored by springerm on Mar 25 2023, 4:35 AM.
Details
Summary Both IndexType and IntegerTypes are now supported. This is needed to compute bounds for condition values of arith.select and scf.if. Depends On: D143910
Diff Detail
Event Timelinespringerm added a parent revision: D143910: [mlir][tensor] Add transform to make tensor.pad/empty loop-independent.Mar 25 2023, 4:35 AM
Revision Contents
Diff 508294 mlir/include/mlir/Dialect/Affine/Transforms/Transforms.h
mlir/include/mlir/Dialect/Arith/Transforms/Transforms.h
mlir/include/mlir/Interfaces/ValueBoundsOpInterface.h
mlir/include/mlir/Interfaces/ValueBoundsOpInterface.td
mlir/lib/Dialect/Affine/IR/ValueBoundsOpInterfaceImpl.cpp
mlir/lib/Dialect/Affine/Transforms/ReifyValueBounds.cpp
mlir/lib/Dialect/Arith/IR/ValueBoundsOpInterfaceImpl.cpp
mlir/lib/Dialect/Arith/Transforms/ReifyValueBounds.cpp
mlir/lib/Dialect/MemRef/IR/ValueBoundsOpInterfaceImpl.cpp
mlir/lib/Dialect/SCF/IR/ValueBoundsOpInterfaceImpl.cpp
mlir/lib/Dialect/Tensor/IR/ValueBoundsOpInterfaceImpl.cpp
mlir/lib/Interfaces/ValueBoundsOpInterface.cpp
mlir/test/Dialect/Arith/value-bounds-op-interface-impl.mlir
mlir/test/lib/Dialect/Affine/TestReifyValueBounds.cpp
|
To void this complexity, could the user just get the default type and convert it at their wish?