Open matthias-springer opened 2 years ago
@MaheshRavishankar new codegen labeled issue. Can you review and add priority?
Thanks @matthias-springer . The pass expects subviews to be folded away. Here the folding is thwarted by the memref.expand_shape
between the subview
and load
. Its a known issue with the pass. I am going to keep this bug with low priority. There is no easy way to fix it, but is not a blocker at this point.
Request description
There is a TODO in
DispatchLinalgOnTensors.cpp
that can be resolved now that #8637 is fixed:Making these two ops clonable works mostly, but triggered a bug in
FlattenMemRefSubspanPass.cpp
. This bug is fixed with #9828. Another test case (iree/tests/e2e/models/unidirectional_lstm.mlir.test
) is failing because the following test case failsFlattenMemRefSubspanPass
. It looks likememref::SubviewOp
s are not supported by the pass.fails with:
What component(s) does this issue relate to?
Compiler
Additional context
No response