[llvm] [LLVM][Auto-Upgrade] Support default args on undeclared multi-call upgrades (PR #216246)

Durgadoss R via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 20 05:08:49 PDT 2026


================
@@ -2175,12 +2177,13 @@ static bool upgradeIntrinsicFunction1(Function *F, Function *&NewFn,
     return true;
   }
 
+  if (upgradeIntrinsicWithDefaultArgs(F, NewFn))
+    return true;
+
   //  This may not belong here. This function is effectively being overloaded
   //  to both detect an intrinsic which needs upgrading, and to provide the
   //  upgraded form of the intrinsic. We should perhaps have two separate
   //  functions for this.
----------------
durga4github wrote:

are we not cleaning up the comments? (or move them above the additions)

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


More information about the llvm-commits mailing list