[PATCH] D36963: Use sorting instead of a lot of stable_partitions for `ICF::segregate` function

Alex Telishev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 23 14:25:22 PDT 2017


alex.telishev added a comment.

Another way to fix everything is to find something that we can reliably compare `SymbolBody` with each other. Do I understand correctly that each `SymbolBody` that could be in ICF is actyally `Defined` and each one of them returns different value for a  `getRVA` function? If it's correct I can just use it for comparison and this strange `NonRegularChunksAreEqual` logic will go away


https://reviews.llvm.org/D36963





More information about the llvm-commits mailing list