This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/32120] missed PRE/FRE of a*2+4 and (a+2)*2
- From: "dberlin at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 05 Mar 2012 17:20:36 +0000
- Subject: [Bug tree-optimization/32120] missed PRE/FRE of a*2+4 and (a+2)*2
- Auto-submitted: auto-generated
- References: <bug-32120-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32120
--- Comment #8 from Daniel Berlin <dberlin at gcc dot gnu.org> 2012-03-05 17:20:36 UTC ---
I still have an unfinished patch to convert SCCVN to
http://dl.acm.org/citation.cfm?id=512536
This actually makes it significantly easier to integrate better
congruence finding (and lets us use predicates properly during value
numbering).
It also was significantly faster in large functions (also functiojns
containing large SCC's) due to a significantly better iteration
strategy (it will only iterate values that are changing, while SCCVN
will iterate all values in an SCC).
I'm happy to attach the patch if you like :)
On Sat, Mar 3, 2012 at 7:45 PM, pinskia at gcc dot gnu.org
<gcc-bugzilla@gcc.gnu.org> wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32120
>
> --- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-03-04 00:45:50 UTC ---
> I might even have a patch for my tree combine branch later today. ÂI still have
> to connect up ssa_combine to SCCVN but that should not be hard.
>
> --
> Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.