Commit c38f0d8c by Nathan Sidwell Committed by Nathan Sidwell

nvptx.c (nvptx_expand_call): Add spacing.

	* config/nvptx/nvptx.c (nvptx_expand_call): Add spacing.
	(nvptx_reorg): Adjust comments.

From-SVN: r227667
parent 297c364d
2015-09-10 Nathan Sidwell <nathan@acm.org>
* config/nvptx/nvptx.c (nvptx_expand_call): Add spacing.
(nvptx_reorg): Adjust comments.
2015-09-15 John David Anglin <danglin@gcc.gnu.org> 2015-09-15 John David Anglin <danglin@gcc.gnu.org>
PR bootstrap/67363 PR bootstrap/67363
......
...@@ -807,6 +807,7 @@ nvptx_expand_call (rtx retval, rtx address) ...@@ -807,6 +807,7 @@ nvptx_expand_call (rtx retval, rtx address)
external_decl = true; external_decl = true;
} }
} }
if (cfun->machine->funtype if (cfun->machine->funtype
/* It's possible to construct testcases where we call a variable. /* It's possible to construct testcases where we call a variable.
See compile/20020129-1.c. stdarg_p will crash so avoid calling it See compile/20020129-1.c. stdarg_p will crash so avoid calling it
...@@ -1981,9 +1982,10 @@ nvptx_reorg_subreg (void) ...@@ -1981,9 +1982,10 @@ nvptx_reorg_subreg (void)
} }
/* PTX-specific reorganization /* PTX-specific reorganization
1) mark now-unused registers, so function begin doesn't declare - Compute live registers
- Mark now-unused registers, so function begin doesn't declare
unused registers. unused registers.
2) replace subregs with suitable sequences. - Replace subregs with suitable sequences.
*/ */
static void static void
...@@ -1995,6 +1997,7 @@ nvptx_reorg (void) ...@@ -1995,6 +1997,7 @@ nvptx_reorg (void)
thread_prologue_and_epilogue_insns (); thread_prologue_and_epilogue_insns ();
/* Compute live regs */
df_clear_flags (DF_LR_RUN_DCE); df_clear_flags (DF_LR_RUN_DCE);
df_set_flags (DF_NO_INSN_RESCAN | DF_NO_HARD_REGS); df_set_flags (DF_NO_INSN_RESCAN | DF_NO_HARD_REGS);
df_analyze (); df_analyze ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment