This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Re: PATCH: [gcc3.5 improvement branch] Very Simple constant propagation
- From: law at redhat dot com
- To: Jan Hubicka <jh at suse dot cz>
- Cc: Dale Johannesen <dalej at apple dot com>, Jan Hubicka <hubicka at ucw dot cz>, Caroline Tice <ctice at apple dot com>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 15 Jan 2004 20:43:45 -0700
- Subject: Re: [tree-ssa] Re: PATCH: [gcc3.5 improvement branch] Very Simple constant propagation
- Reply-to: law at redhat dot com
In message <20040116001814.GA13682@kam.mff.cuni.cz>, Jan Hubicka writes:
>Yes, I invented that code some time ago. I really think that in
>post-SSA world we should not do the trick on RTL.
Agreed.
> Perhaps the patch
>would need to wait for SSA equivalent of this transform that I can do
>soon if this is considered important feature.
Precisely.
>Dom doesn't have def-use chains readilly available, right?
Nope, but it wouldn't be that hard to make then available (keeping them
up-to-date might be more difficult).
My question is does this belong in dom at all. While we might want to
do it as part of a dominator walk or other transforming pass, I don't
see that it needs to live in the current dominator optimizer. Unless
it's like to expose lots of additional optimization opportunities.
jeff