[Mlir-commits] [mlir] Fixes in 'tosa.reshape' lowering and folder (PR #85798)
Krzysztof Drewniak
llvmlistbot at llvm.org
Tue Mar 19 13:54:22 PDT 2024
krzysz00 wrote:
I'll note that I am one of those downstreams who's relying on collapse/expand pairs for `tosa.reshape`, but I didn't raise it because I figured it'd be resolvable.
If there isn't already a pass that rewrites `tensor.reshape` to `tensor.collapse_shape` and `tensor.expand_shape` where possible, we might want to add one, since that could then be slid into the Tosa to Linalg pipeline to preserve the existing behavior.
https://github.com/llvm/llvm-project/pull/85798
More information about the Mlir-commits
mailing list