[Bug tree-optimization/84515] missed optimization: expected loop merging

law at redhat dot com gcc-bugzilla@gcc.gnu.org
Fri Mar 2 18:43:00 GMT 2018


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

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |law at redhat dot com

--- Comment #4 from Jeffrey A. Law <law at redhat dot com> ---
The degenerate PHI is a bit of a red-herring.  It's turned into a degenerate
via uncprop to discourage the unnecessary constant initialization.

Really the key here is we need to know the relationship between _20 and
count_11.  

That relationship is that count_11 >= _20

But EVRP never gives us that symbolic relationship so threading really never
gets a chance.


More information about the Gcc-bugs mailing list