Index: llvm/lib/CodeGen/RegAllocGreedy.h =================================================================== --- llvm/lib/CodeGen/RegAllocGreedy.h +++ llvm/lib/CodeGen/RegAllocGreedy.h @@ -150,7 +150,7 @@ private: // Convenient shortcuts. using PQueue = std::priority_queue>; - using SmallLISet = SmallPtrSet; + using SmallLISet = SmallSetVector; // We need to track all tentative recolorings so we can roll back any // successful and unsuccessful recoloring attempts.