HomePhabricator

[AMDGPU] should expand ROTL i16 to shifts.

Authored by alex-t on Sep 16 2020, 9:54 AM.

Description

[AMDGPU] should expand ROTL i16 to shifts.

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.

Reviewed By: rampitec, arsenm

Differential Revision: https://reviews.llvm.org/D87618

Details

Committed
alex-tSep 17 2020, 7:34 AM
Reviewer
rampitec
Differential Revision
D87618: [AMDGPU] should expand ROTL i16 to shifts.
Parents
rG9339f68f21fa: [compiler-rt] [tsan] [netbsd] Catch unsupported LONG_JMP_SP_ENV_SLOT
Branches
Unknown
Tags
Unknown