[clang] [clang][CodeGen] Return RValue from `EmitVAArg` (PR #94635)
Eli Friedman via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 13 14:07:13 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
----------------
efriedma-quic wrote:
Maybe should check something here? Something like `// CHECK: call void @llvm.va_start // CHECK-NEXT: ret void`.
https://github.com/llvm/llvm-project/pull/94635
More information about the cfe-commits
mailing list