[tree-ssa]: I've got LICM done, but it requires Zdenek's changes

Daniel Berlin dberlin@dberlin.org
Sun Aug 10 15:41:00 GMT 2003


In order to be able to move variables to the correct scopes, I needed
Zdenek's changes so that we know what scope a variable is in.
Zdenek, i would suggest, rather than keep get_common_scope and
move_var_to_scope static to tree-ssa-copyprop, that they be external
functions in the next iteration of your patch.
LICM uses them unmodified.

I ran a full SPEC on the forward substitution changes, and I get 1% better
on some tests, no regressions on any tests.  Not bad for something that
does absolutely nothing in the way of removal or movement.

I'm SPEC'ing fwdsubst + LICM right now.
Then i'll SPEC Zdenek's changes vs an unpatched branch to make sure we
haven't regressed.

LICM hoists over 10000 statements during a bootstrap of gcc, so it's
promising.
It currently doesn't hoist loads or stores.




More information about the Gcc mailing list