[Bug tree-optimization/94801] Failure to optimize narrowed __builtin_clz

dragan.mladjenovic at syrmia dot com gcc-bugzilla@gcc.gnu.org
Fri Jan 28 16:10:04 GMT 2022


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

dragan.mladjenovic at syrmia dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dragan.mladjenovic at syrmia dot c
                   |                            |om

--- Comment #9 from dragan.mladjenovic at syrmia dot com ---
Note that the transformation that the clang does seems to be target specific,
so it won't trigger for example on Aarch64. It does so on x86 irrespective of
the availability of lzcnt instruction.


More information about the Gcc-bugs mailing list