[mlir] Propagate arith.index_cast past tensor.extract
If we are extracting it is more useful to push the index_cast past the extraction. This increases the chance the tensor.extract can evaluated at compile time. Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D118204
Loading
Please sign in to comment