[LoongArch] Add codegen support for ISD::ROTL and ISD::ROTR
authorgonglingqin <gonglingqin@loongson.cn>
Tue, 9 Aug 2022 11:19:39 +0000 (19:19 +0800)
committerWeining Lu <luweining@loongson.cn>
Tue, 9 Aug 2022 11:39:17 +0000 (19:39 +0800)
commitcf75ef460c92304b3122a7734cc54de7ff398d2b
tree9927c69505a27e4c1fd7d45832d91244d5ad2833
parent9fa59e7643d63bbc95c1e011c7403bbe1555c861
[LoongArch] Add codegen support for ISD::ROTL and ISD::ROTR

Differential Revision: https://reviews.llvm.org/D131231
llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
llvm/lib/Target/LoongArch/LoongArchISelLowering.h
llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
llvm/test/CodeGen/LoongArch/rotl-rotr.ll [new file with mode: 0644]