GCN: Remove 'last_arg' spec function
commitf723f72061a7c76fbd6d44adbfff8cb3ed7391d5
authorThomas Schwinge <thomas@codesourcery.com>
Wed, 22 Nov 2023 14:39:50 +0000 (22 15:39 +0100)
committerThomas Schwinge <thomas@codesourcery.com>
Mon, 27 Nov 2023 14:54:35 +0000 (27 15:54 +0100)
tree12e826f905bdc3afedd2c04facd2041d22ed594d
parent297fe5c166f1d920da6d5ef9c7e02846b0148575
GCN: Remove 'last_arg' spec function

The LLVM 13.0.1 assembler ('llvm-mc') indeed still does complain in presence of
multiple '-mcpu=[...]' options:

    as: for the --mcpu option: may only occur zero or one times!

However, as of
"GCN: Tag '-march=[...]', '-mtune=[...]' as 'Negative' of themselves [PR112669]",
the GCC-side special handling is no longer necessary.

gcc/
* config.gcc <amdgcn-*-amdhsa> (extra_gcc_objs): Don't set.
* config/gcn/driver-gcn.cc: Remove.
* config/gcn/gcn-hsa.h (ASM_SPEC, EXTRA_SPEC_FUNCTIONS): Remove
'last_arg' spec function.
* config/gcn/t-gcn-hsa (driver-gcn.o): Remove.
gcc/config.gcc
gcc/config/gcn/driver-gcn.cc [deleted file]
gcc/config/gcn/gcn-hsa.h
gcc/config/gcn/t-gcn-hsa