[clang] [clang][CodeGen] Return RValue from `EmitVAArg` (PR #94635)

Mariya Podchishchaeva via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 12 11:46:26 PDT 2024


================
@@ -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(
----------------
Fznamznon wrote:

I think this should be done in a separate PR.

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


More information about the cfe-commits mailing list