This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Problem with dom
On Sun, 2005-09-11 at 16:41 +0200, Zdenek Dvorak wrote:
> No, it unfortunately cannot help. The new blocks are placed before the
> loop, and jump threading only occurs inside the loop, so the sizes of
> copied blocks remain small.
Yea, you're right. It's been a while since I looked at this...
The other alternative is to simply cap the number of iterations when
backedges are threaded.
> I guess the only real fix is to remove jump threading from dom and make
> a separate, non-iterative pass for it. Which of course is quite a bit
> of work.
It is certainly a lot of work. I've got bits and pieces of that around
here, but nothing terribly useful yet.
jeff