Files
clang-p2996/mlir/lib/Dialect/Arith/Transforms/IntNarrowing.cpp
Jakub Kuderski fc19204918 [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
2023-05-03 13:55:02 -04:00

30 KiB