[llvm] [SPIR-V] Don't lower builtin variadic functions (PR #188517)

Nick Sarnie via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 27 08:19:51 PDT 2026


================
@@ -627,6 +633,9 @@ bool ExpandVariadics::expandCall(Module &M, IRBuilder<> &Builder, CallBase *CB,
   bool Changed = false;
   const DataLayout &DL = M.getDataLayout();
 
+  if (ABI->ignoreFunction(CB->getCalledFunction()))
----------------
sarnex wrote:

The indirect path also calls `expandCall` where this check is, so I think we are okay.

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


More information about the llvm-commits mailing list