]> git.ipfire.org Git - thirdparty/gcc.git/commit
amdgcn: fix builtin codegen at -O0
authorAndrew Stubbs <ams@baylibre.com>
Tue, 2 Sep 2025 09:17:18 +0000 (09:17 +0000)
committerAndrew Stubbs <ams@baylibre.com>
Tue, 9 Sep 2025 16:43:20 +0000 (16:43 +0000)
commit0d56fb26396bfaf3d3b2e487283e8295d98b4f98
tree812f595ad8a24af1fb21545ef94a22a33a8a5ffd
parent52d754a1a620efdbfe4873ae177a62433be4e4d9
amdgcn: fix builtin codegen at -O0

Fix an unrecognised insn ICE that only shows while using builtins at -O0.

gcc/ChangeLog:

* config/gcn/gcn.cc (gcn_expand_builtin_1): Enable the "mode" parameter
and ensure that "target" is a register for most of the builtins.
gcc/config/gcn/gcn.cc