Commit eddcad13 by Segher Boessenkool Committed by Segher Boessenkool

genemit.c: Include dumpfile.h.

2014-09-01  Segher Boessenkool  <segher@kernel.crashing.org>

	* genemit.c: Include dumpfile.h.
	(gen_split): Print name of splitter function to dump file.

From-SVN: r214796
parent a0791dcc
2014-09-01 Segher Boessenkool <segher@kernel.crashing.org>
* genemit.c: Include dumpfile.h.
(gen_split): Print name of splitter function to dump file.
2014-09-01 Richard Biener <rguenther@suse.de> 2014-09-01 Richard Biener <rguenther@suse.de>
* tree-ssa-struct-aliases.c (find_func_aliases_for_builtin_call): * tree-ssa-struct-aliases.c (find_func_aliases_for_builtin_call):
...@@ -578,6 +578,10 @@ gen_split (rtx split) ...@@ -578,6 +578,10 @@ gen_split (rtx split)
if (GET_CODE (split) == DEFINE_PEEPHOLE2) if (GET_CODE (split) == DEFINE_PEEPHOLE2)
output_peephole2_scratches (split); output_peephole2_scratches (split);
printf (" if (dump_file)\n");
printf (" fprintf (dump_file, \"Splitting with gen_%s_%d\\n\");\n",
name, insn_code_number);
printf (" start_sequence ();\n"); printf (" start_sequence ();\n");
/* The fourth operand of DEFINE_SPLIT is some code to be executed /* The fourth operand of DEFINE_SPLIT is some code to be executed
...@@ -813,6 +817,7 @@ from the machine description file `md'. */\n\n"); ...@@ -813,6 +817,7 @@ from the machine description file `md'. */\n\n");
printf ("#include \"tm-constrs.h\"\n"); printf ("#include \"tm-constrs.h\"\n");
printf ("#include \"ggc.h\"\n"); printf ("#include \"ggc.h\"\n");
printf ("#include \"basic-block.h\"\n"); printf ("#include \"basic-block.h\"\n");
printf ("#include \"dumpfile.h\"\n");
printf ("#include \"target.h\"\n\n"); printf ("#include \"target.h\"\n\n");
printf ("#define FAIL return (end_sequence (), _val)\n"); printf ("#define FAIL return (end_sequence (), _val)\n");
printf ("#define DONE return (_val = get_insns (), end_sequence (), _val)\n\n"); printf ("#define DONE return (_val = get_insns (), end_sequence (), _val)\n\n");
......
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