nikic wrote: > SmallPtrSet doesn't have a reserve method right now, but if you reckon it's a better fit here then we can add one. That's surprising! We should definitely add one... https://github.com/llvm/llvm-project/pull/97823