Skip to content
Commit 007177bd authored by Alexey Bataev's avatar Alexey Bataev
Browse files

[SLP]Fix PR61018: Assertion `Mask[I] == UndefMaskElem && "Multiple uses

of scalars."' failed.

Need to check for the reused indices when checking if 2 insertelement
instruction are from the same buildvector. If the inidices are reused,
better not to match buildvectors and consider them as differenet,
otherwise need to track the order of insertelement operations.
parent d514726d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment