lc-3-2/llvm

Rework `SelectRepeatedAdd` for Shifts

Closed this issue · 0 comments

The original SelectRepeatedAdd method was written when immediate left shifts did not exist. Now that they do, we can change this method to use them, thereby extending the range of values we can select before resorting to a PSEUDO.LOADCONST*.