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.