[PATCH] D142327: [clang][RISCV] Fix ABI handling of empty structs with hard FP calling conventions in C++

Luís Marques via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 14 09:41:47 PDT 2023


luismarques added inline comments.


================
Comment at: clang/test/CodeGen/RISCV/abi-empty-structs.c:21-22
 
 // Fields containing empty structs or unions are ignored when flattening
 // structs for the hard FP ABIs, even in C++.
-// FIXME: This isn't currently respected.
----------------
Shouldn't you mention the array exception here? (which you now cover in `test_s7` and `test_s8`).


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142327/new/

https://reviews.llvm.org/D142327



More information about the llvm-commits mailing list