PROP_no_crit_edges was made checked by r8-2993-ga7976089dba5e2 by doing an explict splitting critical edges directly in PRE. So let's remove it.
Bootstrapped and tested on x86_64-linux-gnu with no regressions. Note this depends on https://gcc.gnu.org/pipermail/gcc-patches/2024-July/658447.html . gcc/ChangeLog: PR middle-end/116114 * function.h (PROP_no_crit_edges): Delete. * passes.cc (dump_properties): Remove testing of PROP_no_crit_edges * tree-cfg.cc (pass_data_split_crit_edges): Don't set PROP_no_crit_edges for properties provided. * tree-ssa-sink.cc (pass_data_sink_code): Remove comment about PROP_no_crit_edges. Signed-off-by: Andrew Pinski <quic_apin...@quicinc.com> --- gcc/function.h | 2 +- gcc/passes.cc | 2 -- gcc/tree-cfg.cc | 2 +- gcc/tree-ssa-sink.cc | 2 -- 4 files changed, 2 insertions(+), 6 deletions(-) diff --git a/gcc/function.h b/gcc/function.h index c2c1b808eb1..f0f48648504 100644 --- a/gcc/function.h +++ b/gcc/function.h @@ -251,7 +251,7 @@ public: #define PROP_cfg (1 << 3) #define PROP_objsz (1 << 4) /* object sizes computed */ #define PROP_ssa (1 << 5) -#define PROP_no_crit_edges (1 << 6) +/* UNUSED (1 << 6) */ #define PROP_rtl (1 << 7) #define PROP_gimple_lomp (1 << 8) /* lowered OpenMP directives */ #define PROP_cfglayout (1 << 9) /* cfglayout mode on RTL */ diff --git a/gcc/passes.cc b/gcc/passes.cc index bf91befe074..c494c76808b 100644 --- a/gcc/passes.cc +++ b/gcc/passes.cc @@ -3178,8 +3178,6 @@ dump_properties (FILE *dump, unsigned int props) fprintf (dump, "PROP_cfg\n"); if (props & PROP_ssa) fprintf (dump, "PROP_ssa\n"); - if (props & PROP_no_crit_edges) - fprintf (dump, "PROP_no_crit_edges\n"); if (props & PROP_rtl) fprintf (dump, "PROP_rtl\n"); if (props & PROP_gimple_lomp) diff --git a/gcc/tree-cfg.cc b/gcc/tree-cfg.cc index 32b0d3b356e..3b0c7c4ba53 100644 --- a/gcc/tree-cfg.cc +++ b/gcc/tree-cfg.cc @@ -9495,7 +9495,7 @@ const pass_data pass_data_split_crit_edges = OPTGROUP_NONE, /* optinfo_flags */ TV_TREE_SPLIT_EDGES, /* tv_id */ PROP_cfg, /* properties_required */ - PROP_no_crit_edges, /* properties_provided */ + 0, /* properties_provided */ 0, /* properties_destroyed */ 0, /* todo_flags_start */ 0, /* todo_flags_finish */ diff --git a/gcc/tree-ssa-sink.cc b/gcc/tree-ssa-sink.cc index 737638591db..ad5dd83e43d 100644 --- a/gcc/tree-ssa-sink.cc +++ b/gcc/tree-ssa-sink.cc @@ -799,8 +799,6 @@ const pass_data pass_data_sink_code = "sink", /* name */ OPTGROUP_NONE, /* optinfo_flags */ TV_TREE_SINK, /* tv_id */ - /* PROP_no_crit_edges is ensured by running split_edges_for_insertion in - pass_data_sink_code::execute (). */ ( PROP_cfg | PROP_ssa ), /* properties_required */ 0, /* properties_provided */ 0, /* properties_destroyed */ -- 2.43.0