Instruction combining pass turns library rotl implementation to llvm.fshl.i16.
In the selection dag the intrinsic is turned to ISD::ROTL node that cannot be selected.
Need to expand it to shifts again.
Details
Details
- Reviewers
rampitec arsenm - Commits
- rG0efbb70b719e: [AMDGPU] should expand ROTL i16 to shifts.
Diff Detail
Diff Detail
What about rotr?