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 <4 x i32> @llvm.loongarch.lsx.vpermi.w(<4 x i32>, <4 x i32>, i32) 5 6define <4 x i32> @lsx_vpermi_w(<4 x i32> %va, <4 x i32> %vb) nounwind { 7; CHECK-LABEL: lsx_vpermi_w: 8; CHECK: # %bb.0: # %entry 9; CHECK-NEXT: vpermi.w $vr0, $vr1, 255 10; CHECK-NEXT: ret 11entry: 12 %res = call <4 x i32> @llvm.loongarch.lsx.vpermi.w(<4 x i32> %va, <4 x i32> %vb, i32 255) 13 ret <4 x i32> %res 14} 15