[llvm] [BOLT] Add support for safe-icf (PR #116275)
Amir Ayupov via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 13 16:07:09 PST 2024
================
@@ -49,6 +48,8 @@ cl::opt<bolt::IdenticalCodeFolding::ICFLevel> ICF(
cl::init(bolt::IdenticalCodeFolding::ICFLevel::None),
cl::values(clEnumValN(bolt::IdenticalCodeFolding::ICFLevel::All, "all",
"Enable identical code folding"),
+ clEnumValN(bolt::IdenticalCodeFolding::ICFLevel::All, "1",
----------------
aaupov wrote:
Define "0" as well, and add a deprecation warning. Examples: https://reviews.llvm.org/D128558, https://reviews.llvm.org/D126722
https://github.com/llvm/llvm-project/pull/116275
More information about the llvm-commits
mailing list