[Clang][Arm] Fix fp16 return error tests under AArch64/Arm. NFC
authorDavid Green <david.green@arm.com>
Thu, 29 Sep 2022 11:16:13 +0000 (12:16 +0100)
committerDavid Green <david.green@arm.com>
Thu, 29 Sep 2022 11:16:13 +0000 (12:16 +0100)
commite6171e87e16c59df5fba642d1f48de6f0a2d93d8
treebf12a158b5c44370be0196a6d031b879b669efe3
parentac2e2d6598191d6ffc31127b80d8cba10d00b765
[Clang][Arm] Fix fp16 return error tests under AArch64/Arm. NFC

The -fallow-half-arguments-and-returns option was removed in
59528e4bdb27ed4ab3, replaced with an always-on target option under
AArch64/Arm. There are two tests - fp16-sema.c and renderscripts.rs that
test that an error is produced for __fp16 function args/returns, which
are now expected to pass for Arm/AArch64. i.e they no longer give the
same error as before on native Arm/AArch64 machines. Alter the targets
of those tests to compensate.
clang/test/Sema/fp16-sema.c
clang/test/Sema/renderscript.rs