[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:43:54 PST 2020


stephenneuendorffer added a comment.

In D73671#1848442 <https://reviews.llvm.org/D73671#1848442>, @rriddle wrote:

> Can you implement this as a fold instead? 'fold' is usable in many more places than canonicalization patterns, e.g. DialectConversion.


Any chance you can write something that would clarify this here: https://mlir.llvm.org/docs/Canonicalization/?


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