[MLIR][Standard] Add folding for indexCast(indexCast(x)) -> x
Allow this only if the types are the same. e.g.: i16 -> index -> i16 or index -> i16 -> index Differential Revision: https://reviews.llvm.org/D73671
Loading
Please register or sign in to comment