Commit ad4db775 by Teresa Johnson Committed by Teresa Johnson

loop-unroll.c (report_unroll_peel): Check decision before emitting unroll/peel message.

2013-05-15  Teresa Johnson  <tejohnson@google.com>

	* loop-unroll.c (report_unroll_peel): Check decision before
        emitting unroll/peel message.

From-SVN: r198936
parent af205f67
2013-05-15 Teresa Johnson <tejohnson@google.com> 2013-05-15 Teresa Johnson <tejohnson@google.com>
* loop-unroll.c (report_unroll_peel): Check decision before
emitting unroll/peel message.
2013-05-15 Teresa Johnson <tejohnson@google.com>
* function.h (has_bb_partition): New rtl_data flag. * function.h (has_bb_partition): New rtl_data flag.
(bb_reorder_complete): Ditto. (bb_reorder_complete): Ditto.
* cfgcleanup.c (try_crossjump_to_edge): Check for has_bb_partition * cfgcleanup.c (try_crossjump_to_edge): Check for has_bb_partition
......
...@@ -212,6 +212,9 @@ report_unroll_peel (struct loop *loop, location_t locus) ...@@ -212,6 +212,9 @@ report_unroll_peel (struct loop *loop, location_t locus)
int niters = 0; int niters = 0;
int report_flags = MSG_OPTIMIZED_LOCATIONS | TDF_RTL | TDF_DETAILS; int report_flags = MSG_OPTIMIZED_LOCATIONS | TDF_RTL | TDF_DETAILS;
if (loop->lpt_decision.decision == LPT_NONE)
return;
if (!dump_enabled_p ()) if (!dump_enabled_p ())
return; return;
......
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