[Mlir-commits] [mlir] [MLIR][Tensor, MemRef] Fold expand_shape and collapse_shape if identity (PR #80658)

Matthias Springer llvmlistbot at llvm.org
Mon Feb 5 03:17:06 PST 2024


https://github.com/matthias-springer commented:

Allowing identity expansions/collapsion (and folding them) makes sense to me. Interestingly, I have seen this pattern (disallowing "identity" ops) in other places. E.g., certain "cast" ops that do not change the type fail verification.


https://github.com/llvm/llvm-project/pull/80658


More information about the Mlir-commits mailing list