This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: very confused about single_set
- From: Zdenek Dvorak <rakdver at atrey dot karlin dot mff dot cuni dot cz>
- To: Kenneth Zadeck <zadeck at naturalbridge dot com>
- Cc: Steven Bosscher <stevenb dot gcc at gmail dot com>, "Berlin, Daniel" <dberlin at dberlin dot org>, GCC <gcc at gcc dot gnu dot org>
- Date: Mon, 20 Feb 2006 06:50:23 +0100
- Subject: Re: very confused about single_set
- References: <43F88717.4090806@naturalbridge.com>
Hello,
> 1) single_set is built on top of single_set2.
> 2) single_set_2 uses REG_UNUSED notes.
> 3) tree-ssa-loop-ivops.c:seq_cost uses single_set.
>
> I can find no indication that rtl dfa is run here to provide the
> information for single_set to produce the correct answer.
it is not. Nevertheless, the notes are only relevant for insns with
more than one set, which are not common enough to care about them.
(also, seq_cost will disappear soon).
Zdenek