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

[SLP]Fix PR61835: Assertion `I->use_empty() && "trying to erase

instruction with users."' failed.

If the externally used scalar is part of the tree and is replaced by
extractelement instruction, need to add generated extractelement
instruction to the list of the ExternallyUsedValues to avoid deletion
during vectorization.
parent d2a559ff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment