Move the opcode checks to after we have already verified we found a
valid shift instruction (0 < ShiftAmt) in matchUnaryPermuteShuffle
and lowerShuffleAsShift.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D145129
Recommit "[X86] Add `TuningPreferShiftShuffle` for when Shifts are preferable to shuffles." (2nd Try) AbandonedPublic Authored by goldstein.w.n on Mar 1 2023, 4:56 PM.
Details
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 1 2023, 5:42 PM goldstein.w.n retitled this revision from [X86] Fix undefined access in `matchUnaryPermuteShuffle` to Recommit "[X86] Add `TuningPreferShiftShuffle` for when Shifts are preferable to shuffles." (2nd Try).Mar 1 2023, 10:43 PM This revision now requires changes to proceed.Mar 1 2023, 11:59 PM
Revision Contents
Diff 501705 llvm/lib/Target/X86/X86ISelLowering.cpp
|