Skip to content
Commit a63eaa54 authored by Nikita Popov's avatar Nikita Popov
Browse files

[SLP] Avoid repeated visitation in getVectorElementSize(); NFC

We need to insert into the Visited set at the same time we insert
into the worklist. Otherwise we may end up pushing the same
instruction to the worklist multiple times, and only adding it to
the visited set later.
parent c1bc56bf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment