[clang][RISCV][NFC] Combine RV32/RV64 ABI tests into single files
authorAlex Bradbury <asb@igalia.com>
Wed, 15 Mar 2023 16:56:49 +0000 (16:56 +0000)
committerAlex Bradbury <asb@igalia.com>
Wed, 15 Mar 2023 17:07:02 +0000 (17:07 +0000)
commit8964d7a1d7f3db938f6309d8f65aedd605380a20
tree1748045c25bfe7897d00b793f70a4d8009a930af
parentb2093ca80473b008f733b53a59c84a4e3f657049
[clang][RISCV][NFC] Combine RV32/RV64 ABI tests into single files

After D134050, it makes sense to combine the RV64 ABI tests into a
single file in order to make it more maintainable (i.e. not having to
split tests based on the combinations of ABIs they're expected to
impact). This patch deletes duplicated tests but doesn't do much further
reorganisation beyond that.

I imagine the logical ordering of tests in the file and comments could
be further improved in the future. My personal feeling is that it's
probably not worth investing the time to try to get this "perfect", and
to instead settle for this incremental step forward. But if there's
reviewer interest in attempting to further iterate, I'm happy to do so.

Differential Revision: https://reviews.llvm.org/D140400
14 files changed:
clang/test/CodeGen/RISCV/riscv32-abi.c [new file with mode: 0644]
clang/test/CodeGen/RISCV/riscv32-ilp32-abi.c [deleted file]
clang/test/CodeGen/RISCV/riscv32-ilp32-ilp32f-abi.c [deleted file]
clang/test/CodeGen/RISCV/riscv32-ilp32-ilp32f-ilp32d-abi.c [deleted file]
clang/test/CodeGen/RISCV/riscv32-ilp32d-abi.c [deleted file]
clang/test/CodeGen/RISCV/riscv32-ilp32f-abi.c [deleted file]
clang/test/CodeGen/RISCV/riscv32-ilp32f-ilp32d-abi.c [deleted file]
clang/test/CodeGen/RISCV/riscv32-int128-abi.c [new file with mode: 0644]
clang/test/CodeGen/RISCV/riscv64-abi.c [new file with mode: 0644]
clang/test/CodeGen/RISCV/riscv64-lp64-abi.c [deleted file]
clang/test/CodeGen/RISCV/riscv64-lp64-lp64f-abi.c [deleted file]
clang/test/CodeGen/RISCV/riscv64-lp64-lp64f-lp64d-abi.c [deleted file]
clang/test/CodeGen/RISCV/riscv64-lp64d-abi.c [deleted file]
clang/test/CodeGen/RISCV/riscv64-lp64f-lp64d-abi.c [deleted file]