[llvm] [ProfileData] Remove SampleSorter (NFC) (PR #215941)

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 13 12:54:57 PDT 2026


snehasish wrote:

> Since std::map is already ordered by LineLocation, SampleSorter is redundant.

Can you add a test which checks the ordering? Perhaps using the text format profile. Follow up is fine if you want to merge this one.

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


More information about the llvm-commits mailing list