[PATCH] D142326: [clang][RISCV][test] Add test cases for empty structs and the FP calling conventions
Alex Bradbury via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 22 22:06:44 PST 2023
asb created this revision.
asb added reviewers: kito-cheng, reames, jrtc27, craig.topper, luke.
Herald added subscribers: wingo, pmatos, VincentWu, vkmr, frasercrmck, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, shiva0217, niosHD, sabuasal, simoncook, johnrusso, rbar, arichardson.
Herald added a project: All.
asb requested review of this revision.
Herald added subscribers: cfe-commits, pcwang-thead, eopXD, MaskRay.
Herald added a project: clang.
As reported in https://github.com/llvm/llvm-project/issues/58929, Clang currently differs from GCC in the handling of empty structs. This commit adds some test coverage for the handling of such structs.
Posting for review rather than committing directly because more eyes on our test coverage for in these areas would be useful.
A follow-up patch implements a fix to match g++.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D142326
Files:
clang/test/CodeGen/RISCV/abi-empty-structs.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142326.491233.patch
Type: text/x-patch
Size: 5777 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230123/c4c4b281/attachment.bin>
More information about the llvm-commits
mailing list