Commit 47a5f7dd by Alexander Monakov Committed by Alexander Monakov

scev: dump final value replacement expressions

	* tree-scalar-evolution.c (final_value_replacement_loop): Dump
	full GENERIC expression used for replacement.

From-SVN: r263817
parent 568d5ee4
2018-08-23 Alexander Monakov <amonakov@ispras.ru>
* tree-scalar-evolution.c (final_value_replacement_loop): Dump
full GENERIC expression used for replacement.
2018-08-23 Aldy Hernandez <aldyh@redhat.com> 2018-08-23 Aldy Hernandez <aldyh@redhat.com>
* tree-vrp.c (abs_extent_range): Remove. * tree-vrp.c (abs_extent_range): Remove.
......
...@@ -3617,7 +3617,8 @@ final_value_replacement_loop (struct loop *loop) ...@@ -3617,7 +3617,8 @@ final_value_replacement_loop (struct loop *loop)
{ {
fprintf (dump_file, "\nfinal value replacement:\n "); fprintf (dump_file, "\nfinal value replacement:\n ");
print_gimple_stmt (dump_file, phi, 0); print_gimple_stmt (dump_file, phi, 0);
fprintf (dump_file, " with\n "); fprintf (dump_file, " with expr: ");
print_generic_expr (dump_file, def);
} }
def = unshare_expr (def); def = unshare_expr (def);
remove_phi_node (&psi, false); remove_phi_node (&psi, false);
...@@ -3656,6 +3657,7 @@ final_value_replacement_loop (struct loop *loop) ...@@ -3656,6 +3657,7 @@ final_value_replacement_loop (struct loop *loop)
gsi_insert_before (&gsi, ass, GSI_SAME_STMT); gsi_insert_before (&gsi, ass, GSI_SAME_STMT);
if (dump_file) if (dump_file)
{ {
fprintf (dump_file, "\n final stmt:\n ");
print_gimple_stmt (dump_file, ass, 0); print_gimple_stmt (dump_file, ass, 0);
fprintf (dump_file, "\n"); fprintf (dump_file, "\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