[Mlir-commits] [clang] [llvm] [mlir] [CIR] Expand callee-side va_arg on x86_64 (PR #222420)

Adam Smith llvmlistbot at llvm.org
Tue Sep 15 20:52:48 PDT 2026


================
@@ -1473,3 +1425,255 @@ void CIRABIRewriteContext::rewriteFunctionAddress(cir::GetGlobalOp addrOp,
                                      cir::CastKind::bitcast, addrOp.getAddr());
   addrOp.getAddr().replaceAllUsesExcept(bitcast.getResult(), bitcast);
 }
+
+mlir::LogicalResult
+CIRABIRewriteContext::rewriteVAArg(mlir::Operation *vaArgOp,
----------------
adams381 wrote:

Agreed.  The extraction in this round at least gets the register-file bounds and the cursor layout each into one function.

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


More information about the Mlir-commits mailing list