[Bug middle-end/77568] [7 regression] CSE/PRE/Hoisting blocks common instruction contractions
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Sep 13 13:47:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77568
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |FIXME
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The code in tree-ssa-math-opts.c has the following comment in it:
/* For now restrict this operations to single basic blocks. In theory
we would want to support sinking the multiplication in
m = a*b;
if ()
ma = m + c;
else
d = m;
to form a fma in the then block and sink the multiplication to the
else block. */
if (gimple_bb (use_stmt) != gimple_bb (mul_stmt))
return false;
More information about the Gcc-bugs
mailing list