From: Alexander Monakov Date: Thu, 23 Aug 2018 16:01:12 +0000 (+0300) Subject: scev: dump final value replacement expressions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=47a5f7dda578e9134da49c0c8fcabd49175b3b22;p=gcc.git scev: dump final value replacement expressions * tree-scalar-evolution.c (final_value_replacement_loop): Dump full GENERIC expression used for replacement. From-SVN: r263817 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 594e1252b1c..39ce3cf019a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-08-23 Alexander Monakov + + * tree-scalar-evolution.c (final_value_replacement_loop): Dump + full GENERIC expression used for replacement. + 2018-08-23 Aldy Hernandez * tree-vrp.c (abs_extent_range): Remove. diff --git a/gcc/tree-scalar-evolution.c b/gcc/tree-scalar-evolution.c index 69122f2652f..6475743a26a 100644 --- a/gcc/tree-scalar-evolution.c +++ b/gcc/tree-scalar-evolution.c @@ -3617,7 +3617,8 @@ final_value_replacement_loop (struct loop *loop) { fprintf (dump_file, "\nfinal value replacement:\n "); 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); remove_phi_node (&psi, false); @@ -3656,6 +3657,7 @@ final_value_replacement_loop (struct loop *loop) gsi_insert_before (&gsi, ass, GSI_SAME_STMT); if (dump_file) { + fprintf (dump_file, "\n final stmt:\n "); print_gimple_stmt (dump_file, ass, 0); fprintf (dump_file, "\n"); }