[clang][RISCV][test] Add test that shows incorrect ABI lowering
authorAlex Bradbury <asb@igalia.com>
Thu, 11 Aug 2022 17:51:37 +0000 (18:51 +0100)
committerAlex Bradbury <asb@igalia.com>
Thu, 11 Aug 2022 17:51:37 +0000 (18:51 +0100)
commitd17de5479c6234f9e37fb4deca9e537bf8d3932e
treefa22deedde82649139c858aeedefbdf9a1f42019
parentb48fb85fe60b339b31b0381dde481b284e0fb93e
[clang][RISCV][test] Add test that shows incorrect ABI lowering

As reported in <https://github.com/llvm/llvm-project/issues/57084>,
under hard float ABIs there are issues with lowering structs that
inherit from other structs.

See <https://reviews.llvm.org/D131677> for a fix.
clang/test/CodeGen/RISCV/riscv-abi.cpp [new file with mode: 0644]