PR71261 shows it can take some 80% of the compile-time.

Committed as obvious.

Richard.

2016-05-25  Richard Biener  <rguent...@suse.de>

        * timevar.def (TV_TREE_LOOP_IFCVT): Add.
        * tree-if-conv.c (pass_data_if_conversion): Use it.

Index: gcc/timevar.def
===================================================================
*** gcc/timevar.def     (revision 236689)
--- gcc/timevar.def     (working copy)
*************** DEFTIMEVAR (TV_VTABLE_VERIFICATION   , "
*** 281,286 ****
--- 281,287 ----
  DEFTIMEVAR (TV_TREE_UBSAN            , "tree ubsan")
  DEFTIMEVAR (TV_INITIALIZE_RTL        , "initialize rtl")
  DEFTIMEVAR (TV_GIMPLE_LADDRESS       , "address lowering")
+ DEFTIMEVAR (TV_TREE_LOOP_IFCVT       , "tree loop if-conversion")
  
  /* Everything else in rest_of_compilation not included above.  */
  DEFTIMEVAR (TV_EARLY_LOCAL         , "early local passes")
Index: gcc/tree-if-conv.c
===================================================================
*** gcc/tree-if-conv.c  (revision 236689)
--- gcc/tree-if-conv.c  (working copy)
*************** const pass_data pass_data_if_conversion
*** 2884,2890 ****
    GIMPLE_PASS, /* type */
    "ifcvt", /* name */
    OPTGROUP_NONE, /* optinfo_flags */
!   TV_NONE, /* tv_id */
    ( PROP_cfg | PROP_ssa ), /* properties_required */
    0, /* properties_provided */
    0, /* properties_destroyed */
--- 2884,2890 ----
    GIMPLE_PASS, /* type */
    "ifcvt", /* name */
    OPTGROUP_NONE, /* optinfo_flags */
!   TV_TREE_LOOP_IFCVT, /* tv_id */
    ( PROP_cfg | PROP_ssa ), /* properties_required */
    0, /* properties_provided */
    0, /* properties_destroyed */

Reply via email to