Fix up 'g++.dg/abi/nvptx-ptrmem1.C' (was: [PTX] more register cleanups)

2023-09-18 Thread Thomas Schwinge
;g++.dg/abi/nvptx-ptrmem1.C' ..., which shortly after its inception in commit 44eba92d0a0594bda5b53fcb3c8f84f164c653b6 (Subversion r231628) "[PTX] parameters and return values" was forgotten to be updated in next day's commit 1f0659546bcf5b95c3263cdc73149f6c2a05ebe1 (Subversion

[PTX] more register cleanups

2015-12-15 Thread Nathan Sidwell
this patch uses reg_names array to emit register names, rather than have knowledge scattered throughout the PTX backend. Also, converted write_fn_proto_from_insn to use (renamed) write_arg_mode and (new) write_return_mode. I also noticed we can use liveness information to determine whether an