[all-commits] [llvm/llvm-project] 0efbb7: [AMDGPU] should expand ROTL i16 to shifts.
alex-t via All-commits
all-commits at lists.llvm.org
Thu Sep 17 07:35:09 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 0efbb70b719e990fe153373eda5a604344ae36bb
https://github.com/llvm/llvm-project/commit/0efbb70b719e990fe153373eda5a604344ae36bb
Author: alex-t <alexander.timofeev at amd.com>
Date: 2020-09-17 (Thu, 17 Sep 2020)
Changed paths:
M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
M llvm/test/CodeGen/AMDGPU/rotl.ll
M llvm/test/CodeGen/AMDGPU/rotr.ll
Log Message:
-----------
[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
More information about the All-commits
mailing list