This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Linearize COND_EXPRs involving a single SSA_NAME
- From: Diego Novillo <dnovillo at redhat dot com>
- To: Roger Sayle <roger at eyesopen dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 13 Jul 2004 22:45:30 -0400
- Subject: Re: Linearize COND_EXPRs involving a single SSA_NAME
- Organization: Red Hat Canada
- References: <Pine.LNX.4.44.0407131926590.14282-100000@www.eyesopen.com>
On Tue, 2004-07-13 at 21:36, Roger Sayle wrote:
> This patch is still duplicating code that's already in fold. For example,
> "fold" will already reduce "x == x", etc.. when "x" is an integer
> VAR_DECL or PARM_DECL. The relevant code in fold-const.c is:
>
Yeah, I don't know what I was thinking. I only need to call fold from
the linearizer. I'll try that and if it misses something, I'll let you
know.
Thanks. Diego.