Recommit "[X86] Add `TuningPreferShiftShuffle` for when Shifts are preferable...
Recommit "[X86] Add `TuningPreferShiftShuffle` for when Shifts are preferable to shuffles." (2nd Try) Move the opcode checks to after we have already verified we found a valid shift instruction (`0 < ShiftAmt`) in `matchUnaryPermuteShuffle` and `lowerShuffleAsShift`. Reviewed By: pengfei, RKSimon Differential Revision: https://reviews.llvm.org/D143786
parent
6b5afda6
Please register or sign in to comment