Commit 7cc0fa5d by Richard Biener Committed by Richard Biener

genmatch.c (dt_simplify::gen_1): Change dumping dependent on whether we are in…

genmatch.c (dt_simplify::gen_1): Change dumping dependent on whether we are in (simplify ...) or (match ...) context.

2019-01-14  Richard Biener  <rguenther@suse.de>

	* genmatch.c (dt_simplify::gen_1): Change dumping dependent on
	whether we are in (simplify ...) or (match ...) context.

From-SVN: r267917
parent a49a975f
2019-01-14 Richard Biener <rguenther@suse.de>
* genmatch.c (dt_simplify::gen_1): Change dumping dependent on
whether we are in (simplify ...) or (match ...) context.
2019-01-14 Jakub Jelinek <jakub@redhat.com> 2019-01-14 Jakub Jelinek <jakub@redhat.com>
PR rtl-optimization/88796 PR rtl-optimization/88796
......
...@@ -3311,7 +3311,9 @@ dt_simplify::gen_1 (FILE *f, int indent, bool gimple, operand *result) ...@@ -3311,7 +3311,9 @@ dt_simplify::gen_1 (FILE *f, int indent, bool gimple, operand *result)
} }
fprintf_indent (f, indent, "if (__builtin_expect (dump_file && (dump_flags & TDF_FOLDING), 0)) " fprintf_indent (f, indent, "if (__builtin_expect (dump_file && (dump_flags & TDF_FOLDING), 0)) "
"fprintf (dump_file, \"Applying pattern "); "fprintf (dump_file, \"%s ",
s->kind == simplify::SIMPLIFY
? "Applying pattern" : "Matching expression");
fprintf (f, "%%s:%%d, %%s:%%d\\n\", "); fprintf (f, "%%s:%%d, %%s:%%d\\n\", ");
output_line_directive (f, output_line_directive (f,
result ? result->location : s->match->location, true, result ? result->location : s->match->location, true,
......
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