Thomas Schwinge wrote:
I've pushed to trunk branch
commit 85ad0d84fcec720c1d94b9bda9a617ced70ba5d2
"'libgomp.c/interop-hsa.c': GCN offloading only", see attached.
Thanks!
If nvptx offloading compilation is enabled in addition to GCN, the former ICEs:
during RTL pass: final
[...]/libgomp.c/interop-hsa.c: In function 'get_kernel_ptr':
[...]/libgomp.c/interop-hsa.c:34:1: internal compiler error: RTL check:
expected code 'subreg', have 'reg' in nvptx_print_operand, at
config/nvptx/nvptx.cc:3082
...
Regardless of the issue that nvptx offloading compilation probably shouldn't
ICE, the 'asm' insert clearly is valid for GCN only.
Can you file a PR to eventually fix this ice-on-invalid-code issue?
Tobias