[Bug middle-end/77568] [7 regression] CSE/PRE/Hoisting blocks common instruction contractions

wdijkstr at arm dot com gcc-bugzilla@gcc.gnu.org
Mon Sep 12 18:11:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77568

--- Comment #3 from Wilco <wdijkstr at arm dot com> ---
(In reply to Andrew Pinski from comment #1)
> I think this is just a pass ordering issue.  We create fmas after PRE. 
> Maybe we should do it both before and after ...
> Or enhance the pass which produces FMA to walk through to another bb ...

FMAs are not created in the tree, Expand can do simple cases, and Combine finds
other cases. Given more and more targets support FMA, there is certainly an
argument for adding an FMA tree operator.


More information about the Gcc-bugs mailing list