2019-11-08 Richard Biener <rguenther@suse.de>
* dbgcnt.def (ivopts_loop): Add.
* tree-ssa-loop-ivopts.c (tree_ssa_iv_optimize): Check
ivopts_loop before optimizing a loop.
From-SVN: r277973
+2019-11-08 Richard Biener <rguenther@suse.de>
+
+ * dbgcnt.def (ivopts_loop): Add.
+ * tree-ssa-loop-ivopts.c (tree_ssa_iv_optimize): Check
+ ivopts_loop before optimizing a loop.
+
2019-11-08 Richard Biener <rguenther@suse.de>
PR ipa/92409
DEBUG_COUNTER (match)
DEBUG_COUNTER (store_merging)
DEBUG_COUNTER (gimple_unroll)
+DEBUG_COUNTER (ivopts_loop)
#include "tree-ssa-address.h"
#include "builtins.h"
#include "tree-vectorizer.h"
+#include "dbgcnt.h"
/* FIXME: Expressions are expanded to RTL in this pass to determine the
cost of different addressing modes. This should be moved to a TBD
/* Optimize the loops starting with the innermost ones. */
FOR_EACH_LOOP (loop, LI_FROM_INNERMOST)
{
+ if (!dbg_cnt (ivopts_loop))
+ continue;
+
if (dump_file && (dump_flags & TDF_DETAILS))
flow_loop_dump (loop, dump_file, NULL, 1);