Skip to content
Commit 237d5c64 authored by Mehdi Amini's avatar Mehdi Amini
Browse files

[mlir] Fix vector::InsertElementOp::fold on invalid input

The IR is valid, but UB: there is an out-of-bound index for the position
to insert inside the vector. We should just ignore this in the folder.

Fixes #70884
parent ad1b7a47
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment