Add support for lowering to ISD::ROTL/ISD::ROTR, including rotate by immediate
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Target/X86/X86ISelLowering.cpp | ||
---|---|---|
22683 | Where do we control RotateAmt? |
Comment Actions
Ensure we modulo the constant immediate to be in range.
Generalized the constant splat extraction to work better with intrinsics where the rotate amount may already have been lowered.
Where do we control RotateAmt?
According to the spec COUNT <- COUNT_SRC modulo 32;