aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/constexpr.cc
diff options
context:
space:
mode:
authorAndrew Stubbs <ams@codesourcery.com>2023-12-13 12:00:52 +0000
committerAndrew Stubbs <ams@codesourcery.com>2023-12-13 15:30:42 +0000
commit4c12bcbeb0c0fd6da4c56e7622814201daadd585 (patch)
tree29c8e995959fc98396035e1aaef957634def21bc /gcc/cp/constexpr.cc
parent392f70cc11089f6da2611177de5f3e8baad6d327 (diff)
downloadgcc-4c12bcbeb0c0fd6da4c56e7622814201daadd585.zip
gcc-4c12bcbeb0c0fd6da4c56e7622814201daadd585.tar.gz
gcc-4c12bcbeb0c0fd6da4c56e7622814201daadd585.tar.bz2
amdgcn: Work around XNACK register allocation problem
The extra register pressure is causing infinite loops in some cases, especially at -O0. I have not yet observed any issue on devices that have AVGPRs for spilling, and XNACK is only really useful on those devices anyway, so change the defaults. gcc/ChangeLog: * config/gcn/gcn-hsa.h (NO_XNACK): Change the defaults. * config/gcn/gcn-opts.h (enum hsaco_attr_type): Add HSACO_ATTR_DEFAULT. * config/gcn/gcn.cc (gcn_option_override): Set the default flag_xnack. * config/gcn/gcn.opt: Add -mxnack=default. * doc/invoke.texi: Document the -mxnack default.
Diffstat (limited to 'gcc/cp/constexpr.cc')
0 files changed, 0 insertions, 0 deletions