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