[Bug tree-optimization/83171] __builtin_popcountl ((unsigned long long)unsigned_var) is not being optimized to __builtin_popcount (unsigned_var)

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Nov 27 09:12:00 GMT 2017


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

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
A match.pd pattern would fix that I guess.  Similarly we can elide
conversions of args to ffs and ctz.


More information about the Gcc-bugs mailing list