[llvm] [SROA] Use SmallPtrSet for PromotableAllocas (PR #105809)

Sergei Barannikov via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 23 23:49:28 PDT 2024


s-barannikov wrote:

> You'd need a set container with stable order like SetVector -- though I think that one doesn't actually have efficient erase.

Maybe `SetVector<T, std::deque<T>>` can be used?


https://github.com/llvm/llvm-project/pull/105809


More information about the llvm-commits mailing list