[clang] [llvm] [LLVMABI][AARCH64] Handle conditions for ignoring empty types (PR #224476)
Peter Smith via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 21 03:19:16 PDT 2026
================
@@ -794,4 +794,78 @@ TEST_F(AArch64TargetInfoTest, ClassifyArgumentOveralignedHFAAlign) {
}
}
+// Empty records and zero-size types are ignored as returns under all AArch64
----------------
smithp35 wrote:
I agree that that matching existing clang behaviour is the right thing to do.
It looks like the difference is optimization level. Just add -O1 or -O2 to your example. It looks odd, something I'll need to check with the GCC team.
https://github.com/llvm/llvm-project/pull/224476
More information about the llvm-commits
mailing list