[llvm] [MemDep] Optimize SortNonLocalDepInfoCache sorting strategy for large caches with few unsorted entries (PR #143107)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 6 05:45:18 PDT 2025


https://github.com/nikic commented:

Please do not reformat parts of the file you do not modify.

Why does this cache use a sorted vector at all? Would it be possible to convert it to a DenseMap instead?

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


More information about the llvm-commits mailing list