llvm-project/clang/test/CodeGen/RISCV
David Green 123064dc39 [Clang][Arm] Convert -fallow-half-arguments-and-returns to a target option. NFC
This cc1 option -fallow-half-arguments-and-returns allows __fp16 to be
passed by argument and returned, without giving an error. It is
currently always enabled for Arm and AArch64, by forcing the option in
the driver. This means any cc1 tests (especially those needing
arm_neon.h) need to specify the option too, to prevent the error from
being emitted.

This changes it to a target option instead, set to true for Arm and
AArch64. This allows the option to be removed. Previously it was implied
by -fnative_half_arguments_and_returns, which is set for certain
languages like open_cl, renderscript and hlsl, so that option now too
controls the errors. There were are few other non-arm uses of
-fallow-half-arguments-and-returns but I believe they were unnecessary.
The strictfp_builtins.c tests were converted from __fp16 to _Float16 to
avoid the issues.

Differential Revision: https://reviews.llvm.org/D133885
2022-09-29 11:00:32 +01:00
..
rvb-intrinsics [RISCV] Remove support for the unratified Zbe, Zbf, and Zbm extensions. 2022-09-22 13:04:41 -07:00
rvk-intrinsics [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
rvv-intrinsics [Clang][Arm] Convert -fallow-half-arguments-and-returns to a target option. NFC 2022-09-29 11:00:32 +01:00
rvv-intrinsics-overloaded [Clang][Arm] Convert -fallow-half-arguments-and-returns to a target option. NFC 2022-09-29 11:00:32 +01:00
__fp16-convert.c [RISCV] Fix int16 -> __fp16 conversion code gen 2022-04-30 11:10:44 +08:00
riscv-abi.cpp [clang][RISCV] Fix incorrect ABI lowering for inherited structs under hard-float ABIs 2022-08-19 20:31:06 +01:00
riscv-atomics.c [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
riscv-attr-builtin-alias-err.c [RISCV] Remove experimental prefix from rvv-related extensions. 2022-01-22 20:18:40 -08:00
riscv-attr-builtin-alias.c [RISCV][Clang] Support RVV policy functions. 2022-08-01 17:32:08 +00:00
riscv-inline-asm-rvv.c [RISCV] Remove experimental prefix from rvv-related extensions. 2022-01-22 20:18:40 -08:00
riscv-inline-asm.c [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
riscv-metadata.c [RISCV][Clang] Compute the default target-abi if it's empty. 2021-12-10 08:54:23 -08:00
riscv-sdata-module-flag.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
riscv-v-debuginfo.c [RISCV] Remove experimental prefix from rvv-related extensions. 2022-01-22 20:18:40 -08:00
riscv-v-lifetime.cpp [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
riscv32-ilp32-abi.c [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
riscv32-ilp32-ilp32f-abi.c [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
riscv32-ilp32-ilp32f-ilp32d-abi.c [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
riscv32-ilp32d-abi.c [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
riscv32-ilp32f-abi.c [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
riscv32-ilp32f-ilp32d-abi.c [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
riscv64-lp64-abi.c [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
riscv64-lp64-lp64f-abi.c [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
riscv64-lp64-lp64f-lp64d-abi.c [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
riscv64-lp64d-abi.c [OpaquePtrs][Clang] Add -no-opaque-pointers to tests (NFC) 2022-04-07 12:09:47 +02:00
riscv64-lp64f-lp64d-abi.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00
rvv_errors.c A significant number of our tests in C accidentally use functions 2022-02-13 08:03:40 -05:00