[PATCH] D73671: [MLIR][Standard] Add canonicalization for indexCast(indexCast(x))

Stephen Neuendorffer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 5 14:16:43 PST 2020


stephenneuendorffer added a comment.

In D73671#1852510 <https://reviews.llvm.org/D73671#1852510>, @nicolasvasilache wrote:

> +1 to what River said.
>
> QQ, I could also see `i16 -> index -> i32` => `i16 -> i32`.
>  Would it make sense to put here or do we prefer a separate revision?


That cast is currently not legal as an IndexCastOp.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D73671/new/

https://reviews.llvm.org/D73671





More information about the llvm-commits mailing list