2019-11-07 Richard Biener <rguenther@suse.de>
* dbgcnt.def (gimple_unroll): New.
* tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Check
gimple_unroll debug counter before applying transform.
(try_peel_loop): Likewise.
From-SVN: r277907
+2019-11-07 Richard Biener <rguenther@suse.de>
+
+ * dbgcnt.def (gimple_unroll): New.
+ * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Check
+ gimple_unroll debug counter before applying transform.
+ (try_peel_loop): Likewise.
+
2019-11-07 Kwok Cheung Yeung <kcy@codesourcery.com>
* ira.c (setup_alloc_regs): Setup no_unit_alloc_regs for
DEBUG_COUNTER (dom_unreachable_edges)
DEBUG_COUNTER (match)
DEBUG_COUNTER (store_merging)
+DEBUG_COUNTER (gimple_unroll)
#include "tree-cfgcleanup.h"
#include "builtins.h"
#include "tree-ssa-sccvn.h"
+#include "dbgcnt.h"
/* Specifies types of loops that may be unrolled. */
}
}
+ if (!dbg_cnt (gimple_unroll))
+ return false;
+
initialize_original_copy_tables ();
auto_sbitmap wont_exit (n_unroll + 1);
if (exit && niter
return false;
}
+ if (!dbg_cnt (gimple_unroll))
+ return false;
+
/* Duplicate possibly eliminating the exits. */
initialize_original_copy_tables ();
auto_sbitmap wont_exit (npeel + 1);