This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [4.5] Doloop improvement patches, 6/7
- From: Zdenek Dvorak <rakdver at kam dot mff dot cuni dot cz>
- To: Bernd Schmidt <bernds_cb1 at t-online dot de>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 6 Mar 2009 01:10:23 +0100
- Subject: Re: [4.5] Doloop improvement patches, 6/7
- References: <49B05463.3030902@t-online.de>
Hi,
> This adds more simplifications involving conditional expressions, based
> on the code in patch 2/7.
>
> If we know that a condition of the form (EQ (REG) (CONSTANT)) is true,
> then we can simply replace the register by the constant in our expression.
>
> In simplify_using_initial_values, when we replaced something in one of
> our remebered conditions, try that condition again immediately as it may
> have become helpful.
the idea is OK; however, could you please send me the patch for this and
2/7 together? There seems to be some confusion, with this patch
removing some pieces of the 2/7 one.
Zdenek