1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py 2; RUN: llc --mtriple=loongarch64 --mattr=+lsx < %s | FileCheck %s 3 4declare <16 x i8> @llvm.loongarch.lsx.vbitseli.b(<16 x i8>, <16 x i8>, i32) 5 6define <16 x i8> @lsx_vbitseli_b(<16 x i8> %va, <16 x i8> %vb) nounwind { 7; CHECK-LABEL: lsx_vbitseli_b: 8; CHECK: # %bb.0: # %entry 9; CHECK-NEXT: vbitseli.b $vr0, $vr1, 255 10; CHECK-NEXT: ret 11entry: 12 %res = call <16 x i8> @llvm.loongarch.lsx.vbitseli.b(<16 x i8> %va, <16 x i8> %vb, i32 255) 13 ret <16 x i8> %res 14} 15