https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100563
Richard Earnshaw <rearnsha at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Assignee|unassigned at gcc dot gnu.org |rearnsha at gcc dot gnu.org Last reconfirmed| |2021-05-12 Status|UNCONFIRMED |ASSIGNED --- Comment #3 from Richard Earnshaw <rearnsha at gcc dot gnu.org> --- err, no it's not that. We start off with LEU(x, -1) but because we can't do that directly, we swap the operand order to GEU(-1, x). But arm_gen_dicompare_reg can't handle that, so arm_validize_comparison needs to push the constant into a register.