[clang][RISCV][test] Add test cases for empty structs and the FP calling conventions
authorAlex Bradbury <asb@igalia.com>
Sun, 26 Mar 2023 15:11:18 +0000 (16:11 +0100)
committerAlex Bradbury <asb@igalia.com>
Sun, 26 Mar 2023 15:11:18 +0000 (16:11 +0100)
commita742511cbe9ada478e8a42847f443aa807bb147c
tree8242c60598f9f5a0606cad080d4db744eb355484
parentaf602edf0ecb4e1d7de4ccce8ebe1be8bb53443d
[clang][RISCV][test] Add test cases for empty structs and the FP calling conventions

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.

A follow-up patch implements a fix to match g++.

Differential Revision: https://reviews.llvm.org/D142326
clang/test/CodeGen/RISCV/abi-empty-structs.c [new file with mode: 0644]