Skip to content
Commit 48bc5b0a authored by Alexey Bataev's avatar Alexey Bataev
Browse files

[SLP][PR64099]Fix unsound undef to poison transformation when handling

insertelement instructions.

If the original vector has undef, not poison values, which are not
rewritten by later insertelement instructions, need to transform shuffle
with the undef vector, not a poison vector, and actual indices, not
PoisonMaskElem, otherwise the transformation may produce more poisons
output than the input.
parent 66ba71d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment