[clang] [clang][CodeGen] Return RValue from `EmitVAArg` (PR #94635)
Mariya Podchishchaeva via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 14 08:34:07 PDT 2024
================
@@ -834,5 +834,4 @@ typedef struct {} empty;
empty empty_record_test(void) {
// CHECK-LABEL: define{{.*}} void @empty_record_test()
return va_arg(the_list, empty);
-// CHECK: [[GR_OFFS:%[a-z_0-9]+]] = load ptr, ptr @the_list
----------------
Fznamznon wrote:
Well, there is no va_start but I checked ret
https://github.com/llvm/llvm-project/pull/94635
More information about the cfe-commits
mailing list