Skip to content
Unverified Commit 3247f1e7 authored by Rik Huijzer's avatar Rik Huijzer Committed by GitHub
Browse files

[mlir][affine] Fix dim index out of bounds crash (#73266)

This PR suggests a way to fix
https://github.com/llvm/llvm-project/issues/70418. It now throws an
error if the `index` operand for `memref.dim` is out of bounds. Catching
it in the verifier was not possible because the constant value is not
yet available at that point. Unfortunately, the error is not very
descriptive since it was only possible to propagate boolean up.
parent 1b1f3c20
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment