nvptx.c (nvptx_write_function_decl): Reformat.

* config/nvptx/nvptx.c (nvptx_write_function_decl): Reformat.
	(nvptx_reorg_subreg): Pass insn pattern to asm_operands.

From-SVN: r227169
This commit is contained in:
Nathan Sidwell 2015-08-25 14:06:39 +00:00 committed by Nathan Sidwell
parent e4cdf6a8c5
commit 1fe6befc36
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2015-08-25 Nathan Sidwell <nathan@acm.org>
* config/nvptx/nvptx.c (nvptx_write_function_decl): Reformat.
(nvptx_reorg_subreg): Pass insn pattern to asm_operands.
2015-08-25 Richard Biener <rguenther@suse.de> 2015-08-25 Richard Biener <rguenther@suse.de>
PR middle-end/67306 PR middle-end/67306

View File

@ -321,7 +321,8 @@ nvptx_write_function_decl (std::stringstream &s, const char *name, const_tree de
/* Declare argument types. */ /* Declare argument types. */
if ((args != NULL_TREE if ((args != NULL_TREE
&& !(TREE_CODE (args) == TREE_LIST && TREE_VALUE (args) == void_type_node)) && !(TREE_CODE (args) == TREE_LIST
&& TREE_VALUE (args) == void_type_node))
|| is_main || is_main
|| return_in_mem || return_in_mem
|| DECL_STATIC_CHAIN (decl)) || DECL_STATIC_CHAIN (decl))
@ -1917,7 +1918,7 @@ nvptx_reorg_subreg (void)
{ {
next = NEXT_INSN (insn); next = NEXT_INSN (insn);
if (!NONDEBUG_INSN_P (insn) if (!NONDEBUG_INSN_P (insn)
|| asm_noperands (insn) >= 0 || asm_noperands (PATTERN (insn)) >= 0
|| GET_CODE (PATTERN (insn)) == USE || GET_CODE (PATTERN (insn)) == USE
|| GET_CODE (PATTERN (insn)) == CLOBBER) || GET_CODE (PATTERN (insn)) == CLOBBER)
continue; continue;