This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Fix problem with loop notes emitted by targets
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- Cc: gcc-patches at gcc dot gnu dot org, aj at suse dot de
- Date: Sat, 6 Dec 2003 23:35:01 +0100
- Subject: Re: [tree-ssa] Fix problem with loop notes emitted by targets
- References: <20031206222847.GA23400@atrey.karlin.mff.cuni.cz>
> Hello,
>
> some targets (s390, maybe other) produce loops when expanding
> builtins; this causes problems as create_loop_notes does not like
> the notes created by them. This patch makes the functions that expand
> loops work without creating the notes. It also removes
> NOTE_INSN_LOOP_CONT, since it is not produced anywhere.
There are some parts of loop.c that rely on presence of LOOP_CONT (such
as dbra code) If we want to save them, we can simply emit LOOP_CONT note
at the beggining of latch basic block (or more aggressivly a superblock).
Honza