[PTX] rework PTX prototype emission
Nathan Sidwell
nathan@acm.org
Mon Nov 30 14:53:00 GMT 2015
This patch moves all PTX prototype emission from a DECL into the renamed
'write_fn_decl'. Thus we no longer need write_fn_decl_and_comment, nor does
nvptx_declare_function_name need to emit the linker comment marker itself (which
is nearly identical to the one that was emitted by write_fn_decl_and_comment).
While there I made the handling of name replacement consistent between the two
prototype emitters and tidied up the argument emission of write_fn_decl.
nathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: trunk-ptx-call.patch
Type: text/x-patch
Size: 11785 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20151130/789aaef8/attachment.bin>
More information about the Gcc-patches
mailing list