]> git.ipfire.org Git - thirdparty/gcc.git/commit
amdgcn: Fix vector min/max ICE
authorAndrew Stubbs <ams@codesourcery.com>
Fri, 10 Nov 2023 09:43:21 +0000 (09:43 +0000)
committerAndrew Stubbs <ams@codesourcery.com>
Fri, 10 Nov 2023 17:57:04 +0000 (17:57 +0000)
commitcc84a60af0c76d15cf3c2508238ba3616b943f13
tree023abbf6998e833e50609c8f0aff43e68c91f5c4
parent3312ab3b34bfcb63aac21c8aef992f373850fe45
amdgcn: Fix vector min/max ICE

The DImode min/max instructions need a clobber that SImode does not, so
add the special case to the reduction expand code.

gcc/ChangeLog:

* config/gcn/gcn.cc (gcn_expand_reduc_scalar): Add clobber to DImode
min/max instructions.
gcc/ChangeLog.omp
gcc/config/gcn/gcn.cc