Unverified Commit f32b3e1c authored by Felix Schneider's avatar Felix Schneider Committed by GitHub
Browse files

[mlir][memref] Fix index delinearization for CollapseShapeOp folding (#68833)

The `resolveSourceIndicesCollapseShape` method is used to compute
indices into the source `MemRef` of a `CollapseShapeOp` from the
collapsed indices. This method didn't check for dynamic sizes of the
source shape which led to a crash.

Fix https://github.com/llvm/llvm-project/issues/68483
parent 894927b4
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment