This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Prevent ifcvt from moving computations into loop
On Fri, Jul 18, 2003 at 12:55:52AM +0200, Zdenek Dvorak wrote:
> * Makefile.in (ifcvt.o): Add cfgloop.h.
> * basic-block.h (EDGE_LOOP_EXIT): New flag.
> * cfgrtl.c (rtl_verify_flow_info_1): Handle it correctly.
> * ifcvt.c: Include cfgloop.h.
> (mark_loop_exit_edges): New static function.
> (if_convert): Call it.
> (find_if_header): Ignore branches out of loops.
Ok.
r~