This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] some manual store sinking for tree-dfa
- From: Andrew MacLeod <amacleod at redhat dot com>
- To: Steven Bosscher <s dot bosscher at student dot tudelft dot nl>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: 09 Dec 2003 08:55:20 -0500
- Subject: Re: [tree-ssa] some manual store sinking for tree-dfa
- References: <200312090108.05259.s.bosscher@student.tudelft.nl>
On Mon, 2003-12-08 at 19:08, Steven Bosscher wrote:
> Hi,
>
> Honza noted that, surprisingly, tree-dfa.c:add_vdef is a bottleneck.
> This patch help a bit, but not enough. Walking over two potentially
> big varrays, bah...
>
> BTW Without this patch we could sink the store to source, but I've
> verified that we don't do that. Is store sinking implemented?
>
> Bootstrapped & tested on i686-pc-linux-gnu. OK, or is this going
> away when Andrew is done with his new voperands data structs?
>
>
> * tree-dfa.c (add_vdef): Only store `source' if we've found it.
>
Hmm. Its not completely going away, but it is being reworked
significantly. I will rework it a bit more carefully based on those
observations, and at the very least, incorporate your changes. I'll see
if I can speed it up even more than that tho.
THanks
Andrew