================ @@ -325,14 +325,19 @@ Address SparcV9ABIInfo::EmitVAArg(CodeGenFunction &CGF, Address VAListAddr, break; case ABIArgInfo::Ignore: - return Address(llvm::UndefValue::get(ArgPtrTy), ArgTy, TypeInfo.Align); + return CGF.EmitLoadOfAnyValue( + CGF.MakeAddrLValue( ---------------- efriedma-quic wrote:
If you're going to switch all the other Ignore handlers to just `return Slot.asRValue();`, might as well also change this one. https://github.com/llvm/llvm-project/pull/94635 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits