This is a minimum extension of D106607 to allow folding for 2 non-zero constants.
In the reduced test examples, we save 1 instruction by rolling the constants into LEA/ADD. In the motivating test from the bullet benchmark, we absorb both of the constant moves into add ops via LEA magic, so we reduce by 2 instructions.
Would transforming this into
be a win? https://godbolt.org/z/rYjzePnr4