[PATCH] D93838: [SCCP] Add Function Specialization pass
Chuanqi Xu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 28 01:13:16 PDT 2021
ChuanqiXu added inline comments.
================
Comment at: llvm/lib/Passes/PassBuilder.cpp:1126
+ if (EnableFunctionSpecialization != FuncSpecializationLevel::Disabled)
+ MPM.addPass(FunctionSpecializationPass());
+
----------------
ChuanqiXu wrote:
> The Function Specialization pass would only run in LTO mode in Legacy Pass manager while is seems like it would run as a module pass in NewPM. Is this a intended behavior?
It looks like it would run as a module simplify pass in NewPM?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93838/new/
https://reviews.llvm.org/D93838
More information about the llvm-commits
mailing list