================
@@ -626,6 +626,18 @@ static Value *emitQuaternaryBuiltin(CodeGenFunction &CGF, 
const CallExpr *E,
   return CGF.Builder.CreateCall(F, {Src0, Src1, Src2, Src3});
 }
 
+static Value *emitQuinaryBuiltin(CodeGenFunction &CGF, const CallExpr *E,
----------------
shiltian wrote:

If we look at existing `emitXXXBuiltin` (ignore quaternary one which was added 
by me), it looks like `XXX` means the number of arguments we have for the 
builtin, and all of them just have single mangling.
I think a better unified function signature might be `template <unsigned N> 
void emitBuiltinWithSingleMangling` but it is out of the scope. I can do it in 
a separate patch.

https://github.com/llvm/llvm-project/pull/94576
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to