[mlir][arith] Add narrowing patterns for index casts
These rely on the `ValueBounds` interace and its utility function to compute constant bounds. This allows us to optimize `linalg.index` values cast to integer types. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D149538
parent
c2be7021
Please register or sign in to comment