From: Kyrylo Tkachov <[email protected]>
IFCVT_MULTIPLE_DUMPS was unconditionally #defined to 1, so its three #ifdef
guards in if_convert were always taken. Drop the macro and the guards,
keeping the dump code inline. No functional change.
gcc/ChangeLog:
* ifcvt.cc (IFCVT_MULTIPLE_DUMPS): Remove.
(if_convert): Remove its now-vacuous #ifdef guards.
Signed-off-by: Kyrylo Tkachov <[email protected]>
---
gcc/ifcvt.cc | 8 --------
1 file changed, 8 deletions(-)
diff --git a/gcc/ifcvt.cc b/gcc/ifcvt.cc
index 50244b73dc5..0763cc07b9f 100644
--- a/gcc/ifcvt.cc
+++ b/gcc/ifcvt.cc
@@ -53,8 +53,6 @@
+ 1)
#endif
-#define IFCVT_MULTIPLE_DUMPS 1
-
#define NULL_BLOCK ((basic_block) NULL)
/* Which of the three RTL if-conversion passes is running. ce1 runs before
@@ -6918,10 +6916,8 @@ if_convert (ifcvt_phase phase)
cond_exec_changed_p = false;
pass++;
-#ifdef IFCVT_MULTIPLE_DUMPS
if (dump_file && pass > 1)
fprintf (dump_file, "\n\n========== Pass %d ==========\n", pass);
-#endif
FOR_EACH_BB_FN (bb, cfun)
{
@@ -6931,17 +6927,13 @@ if_convert (ifcvt_phase phase)
bb = new_bb;
}
-#ifdef IFCVT_MULTIPLE_DUMPS
if (dump_file && cond_exec_changed_p)
print_rtl_with_bb (dump_file, get_insns (), dump_flags);
-#endif
}
while (cond_exec_changed_p);
-#ifdef IFCVT_MULTIPLE_DUMPS
if (dump_file)
fprintf (dump_file, "\n\n========== no more changes\n");
-#endif
free_dominance_info (CDI_POST_DOMINATORS);
--
2.50.1 (Apple Git-155)