We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e2d8b6 commit eb991bbCopy full SHA for eb991bb
llvm/lib/Transforms/IPO/FunctionSpecialization.cpp
@@ -680,7 +680,9 @@ bool FunctionSpecializer::run() {
680
continue;
681
682
// When specialization on literal constants is disabled, only consider
683
- // recursive functions when running multiple times.
+ // recursive functions when running multiple times to save wasted analysis,
684
+ // as we will not be able to specialize on any newly found literal constant
685
+ // return values.
686
if (!SpecializeLiteralConstant && !Inserted && !Metrics.isRecursive)
687
688
0 commit comments