Eliminate O(n^2) worst-case behavior in SSA construction
The code uses a priority queue and a worklist, which share the same visited set, but the visited set is only updated when inserting into the priority queue. Instead, switch to using separate visited sets for the priority queue and worklist. llvm-svn: 234425
Loading
Please sign in to comment