Added patterns so that both SSAT and USAT instructions are generated with shifts. Added corresponding regression tests as well.
Any chance we can combine asr_imm_XFORM/asr_imm and t2_asr_imm_XFORM / t2_asr_imm to use the same SDNodeXForm? I think asr_imm should be visible in both these files.
|2 ↗||(On Diff #282578)|
This can just be -mattr=+dsp I think. You could also just include this as a RUN line in the ARM/usat-with-shift.ll test if that's simpler. Up to you.