diff options
author | Andrew Stubbs <ams@codesourcery.com> | 2021-09-24 11:37:37 +0100 |
---|---|---|
committer | Andrew Stubbs <ams@codesourcery.com> | 2021-10-07 11:26:44 +0100 |
commit | 6ca03ca35a58ebf9792aa8a08adf00b6fd3e0015 (patch) | |
tree | b22b3e23c2343a1b3e165b4faee5b38d9c3f5a0b /gcc/tree-ssa-sccvn.c | |
parent | 6496ae5c9651206c9de43f63018a549a2ef2244e (diff) | |
download | gcc-6ca03ca35a58ebf9792aa8a08adf00b6fd3e0015.zip gcc-6ca03ca35a58ebf9792aa8a08adf00b6fd3e0015.tar.gz gcc-6ca03ca35a58ebf9792aa8a08adf00b6fd3e0015.tar.bz2 |
amdgcn: Support LLVM 13 assembler syntax
The LLVM devs have changed the assembler architecture attribute names on both
CLI and in the ".amdgcn_target" directive, and changed the attribute syntax
inside the directive, without keeping any backwards compatibility. :-(
This patch improves our configure tests to detect what dialect to use, what
attributes are valid, and adjusts the specs to match.
gcc/ChangeLog:
* config.in: Regenerate.
* config/gcn/gcn-hsa.h (X_FIJI): New macro.
(X_900): New macro.
(X_906): New macro.
(X_908): New macro.
(A_FIJI): Rename to ...
(S_FIJI): ... this.
(A_900): Rename to ...
(S_900): ... this.
(A_906): Rename to ...
(S_906): ... this.
(A_908): Rename to ...
(S_908): ... this.
(SRAMOPT): New macro.
(ASM_SPEC): Adjust xnack option usage.
* config/gcn/gcn.c (output_file_start): Adjust amdgcn_target usage.
* configure: Regenerate.
* configure.ac: Detect LLVM assembler dialect.
Diffstat (limited to 'gcc/tree-ssa-sccvn.c')
0 files changed, 0 insertions, 0 deletions