https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116013
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|middle-end |target Target|x86_64 |x86_64-*-* --- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> --- On the gimple level this is about canonicalization. Now that we have a andn optab RTL expansion/insn selection should do the trick but I wonder why combine doesn't - that looks like a target bug or a simplify-rtx issue (again a missed canonicalization rule?)