http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35305
--- Comment #4 from davidxl 2012-10-30 18:57:18
UTC ---
The suggested transformation can be useful in some cases, but won't be general
enough. The listed example is an extreme case. For instance, the second a+b
instance does not have to be
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-03-21 10:53 ---
Wouldn't this be a candidate for forming a superblock from hot traces of
a function? Thus in the testcase
if (k && m)
{
g1 = a + b;
g2 = a + b;
}
else
{
... old code
}
which would a
--- Comment #2 from steven at gcc dot gnu dot org 2009-03-21 00:54 ---
I'm considering implementing/experimenting with something along the lines of
this:
http://www.cs.ualberta.ca/~amaral/cascon/CDP05/slides/CDP05-horspool.pdf
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35305
--- Comment #1 from steven at gcc dot gnu dot org 2009-02-06 21:53 ---
Could be added to PPRE.
--
steven at gcc dot gnu dot org changed:
What|Removed |Added
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
Severity|normal |enhancement
Keywords||missed-op