; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc --mtriple=loongarch64 --mattr=+lsx < %s | FileCheck %s
declare <16 x i8> @llvm.loongarch.lsx.vbsll.v(<16 x i8>, i32)
define <16 x i8> @lsx_vbsll_v(<16 x i8> %va) nounwind {
; CHECK-LABEL: lsx_vbsll_v:
; CHECK: # %bb.0: # %entry
; CHECK-NEXT: vbsll.v $vr0, $vr0, 31
; CHECK-NEXT: ret
entry:
%res = call <16 x i8> @llvm.loongarch.lsx.vbsll.v(<16 x i8> %va, i32 31)
ret <16 x i8> %res
}