[clang] [llvm] [SPIR-V] Enable variadic function lowering for the SPIR-V target (PR #175076)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 8 14:20:27 PST 2026


================
@@ -249,7 +250,8 @@ class ExpandVariadics : public ModulePass {
         return false;
       }
 
-      if (CI->getCallingConv() != CallingConv::C)
+      if (CI->getCallingConv() != CallingConv::C &&
----------------
arsenm wrote:

Unrelated but this is bugged and should handle coldcc and the other ccc-alias-like ccs 

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


More information about the cfe-commits mailing list