The XOP rotations act as ROTL with +ve values and ROTR with -ve values, which means that we can treat them all as ROTL with unsigned modulo. We already check that we're only trying to lower as ROTL for XOP rotations.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Target/X86/X86InstrFragmentsSIMD.td | ||
---|---|---|
216 ↗ | (On Diff #115544) | Can we just replace all uses of this with X86vrotli? |
lib/Target/X86/X86InstrFragmentsSIMD.td | ||
---|---|---|
216 ↗ | (On Diff #115544) | We should - I hit a load of tblgen failures when I tried this in an earlier version of the patch and sort of brushed the problem under the carpet, I'll try again. |