================
@@ -414,6 +414,20 @@ ANALYZER_OPTION(
"any target.",
true)
+ANALYZER_OPTION(
+ bool, LegacyInliningPrevention, "legacy-inlining-prevention",
+ "If enabled, the analyzer puts functions on a \"do not inline this\" list "
+ "if it finds an execution path within that function that may potentially "
+ "perform 'analyzer-max-loop' (= 4 by default) iterations in a loop. "
+ "Note that functions that _definitely_ reach the loop limit on some "
+ "execution path are currently marked as \"do not inline\" even if this "
+ "option is disabled (but this may change in future versions). This option "
+ "is a dumb and arbitrary restriction on inlining, but disabling it would "
----------------
NagyDonat wrote:
Good point, I was annoyed by the situation when I wrote this description, but I
was already planning to rewrite these before finalizing the commit.
https://github.com/llvm/llvm-project/pull/136720
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits