[llvm] [BOLT] Add support for safe-icf (PR #116275)
Davide Italiano via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 14 19:51:03 PST 2024
================
@@ -36,6 +36,14 @@ class IdenticalCodeFolding : public BinaryFunctionPass {
const char *getName() const override { return "identical-code-folding"; }
Error runOnFunctions(BinaryContext &BC) override;
+
+private:
+ /// Create a skip list of functions that should not be folded.
+ Error createFoldSkipList(BinaryContext &BC);
----------------
dcci wrote:
I think a skip list is a well known data structure in literature, so it's confusing.
https://github.com/llvm/llvm-project/pull/116275
More information about the llvm-commits
mailing list