[llvm] [ArgPromotion] Handle pointer arguments of recursive calls (PR #78735)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 10 13:24:10 PDT 2024


================
@@ -446,6 +473,7 @@ static bool allCallersPassValidPointerForArgument(Argument *Arg,
 /// parts it can be promoted into.
 static bool findArgParts(Argument *Arg, const DataLayout &DL, AAResults &AAR,
                          unsigned MaxElements, bool IsRecursive,
+                         bool isSelfRecursive,
----------------
efriedma-quic wrote:

isSelfRecursive is unused; you can delete it.

https://github.com/llvm/llvm-project/pull/78735


More information about the llvm-commits mailing list