https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70566
ktkachov at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |rearnsha at arm dot com --- Comment #5 from ktkachov at gcc dot gnu.org --- I think the peephole to transform the 1-bit zero_extract + compare-with-zero into an lsls (from a tst-immediate) is not valid for positions other than zero (i.e. when the shift would be by 31). But that case should already be handled by the peephole below it at line 1567 in thumb2.md. So I propose we just delete the one at line 1539. Richard, what do you think?