https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83253
--- Comment #10 from Bill Schmidt <wschmidt at gcc dot gnu.org> --- I see that I was looking at the wrong leg here. This is a CAND_ADD, not a CAND_MULT, and I'm getting strange cost results on that path. The proposed change is still appropriate in my view, but not relevant for this case.