This is the mail archive of the
mailing list for the GCC project.
Critical edge splitting inconsistency
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: gcc at gcc dot gnu dot org, rakdver at atrey dot karlin dot mff dot cuni dot cz,stevenb at suse dot de, dberlin at dberlin dot org
- Date: Fri, 17 Sep 2004 23:44:57 +0200
- Subject: Critical edge splitting inconsistency
while looking into unrelated problem on tree-profiling branch I noticed
that we currently split critical edges before PRE and then cleanup_cfg
iff PRE appears to modify CFG. This means that sometimes we keep the
edges split after pre pass but sometimes we don't. This just looks
inconsistent as someone might jump into assumption that edges are always
split in the later pass (or into reversed one).
Would be possible to take care of this somehow? Perhaps the critical
edge spliteness can be made a property of CFG for the pass manager?