We may be able to get some more performance out of the multiplication code when we know that both operands are the same. Follow-up for #13745.