================
@@ -382,3 +382,13 @@ void CIRGenFunction::emitVAStartEnd(mlir::Value argValue,
bool isStart) {
else
cir::VAEndOp::create(builder, argValue.getLoc(), argValue);
}
+
+// FIXME(cir): This completely abstracts away the ABI with a generic CIR Op. We
+// need to decide how to handle va_arg target-specific codegen.
+mlir::Value CIRGenFunction::emitVAArg(VAArgExpr *ve, Address &vaListAddr) {
----------------
mmha wrote:
Hmm, If we want to defer codegen to LoweringPrepare, we can still have a
function in ABIInfo that tells whether a given `QualType` can be a VAArg
https://github.com/llvm/llvm-project/pull/153834
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits