[llvm] [BOLT] Add support for safe-icf (PR #116275)

Alexander Yermolovich via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 15 14:28:25 PST 2024


================
@@ -350,6 +422,9 @@ Error IdenticalCodeFolding::runOnFunctions(BinaryContext &BC) {
   std::atomic<uint64_t> NumFoldedLastIteration{0};
   CongruentBucketsMap CongruentBuckets;
 
+  auto SkipFuncShared = [&](const BinaryFunction &BF) {
----------------
ayermolo wrote:

It's shared by 
ParallelUtilities::PredicateTy SkipFunc and check in createCongruentBuckets.
Not sure what better name is.

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


More information about the llvm-commits mailing list