Why does flow_loops_find modify the CFG, again?

2006-11-18 Thread Steven Bosscher
Hi Zdenek, all, I'm running into some troubles with an if-conversion pass that runs after reload, where we have to avoid lifting insns across a loop exit edge into a loop. ifcvt.c uses flow_loops_find to find loops and mark all loop exit edges: if ((! targetm.cannot_modify_jumps_p ()) &&

Re: Why does flow_loops_find modify the CFG, again?

2006-11-18 Thread Daniel Berlin
On 11/18/06, Steven Bosscher <[EMAIL PROTECTED]> wrote: Hi Zdenek, all, Is this something that could be easily fixed? E.g. can we make it that flow_loops_find only performs transformations if asked to (by adding a function argument for that)? Why not have a flow_canonicalize_loops that does

Re: Why does flow_loops_find modify the CFG, again?

2006-11-19 Thread Zdenek Dvorak
Hello, > I'm running into some troubles with an if-conversion pass that runs > after reload, where we have to avoid lifting insns across a loop > exit edge into a loop. ifcvt.c uses flow_loops_find to find loops > and mark all loop exit edges: > > if ((! targetm.cannot_modify_jumps_p ()) >