[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.
Loading
Please sign in to comment