This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/45685] [4.6 Regression] missed conditional move opportunity in loop


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45685

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

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

--- Comment #15 from Jeffrey A. Law <law at redhat dot com> 2011-01-24 16:56:02 UTC ---
Alternately, we could have phi-opts clean this up.  ISTM it's not that complex
to determine if two PHI nodes have closely related values such as negation,
trivial conversions, etc.

While this kind of optimization doesn't directly result in a performance
improvement, it may make it easier for later opts to improve the code.  This
would help codesize as we'd be replacing a pair of constant loads with a
negation, trivial type conversion, etc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]