1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc --mtriple=loongarch64 --mattr=+lsx < %s | FileCheck %s
4 declare <16 x i8> @llvm.loongarch.lsx.vandi.b(<16 x i8>, i32)
6 define <16 x i8> @lsx_vandi_b(<16 x i8> %va) nounwind {
7 ; CHECK-LABEL: lsx_vandi_b:
8 ; CHECK: # %bb.0: # %entry
9 ; CHECK-NEXT: vandi.b $vr0, $vr0, 1
12 %res = call <16 x i8> @llvm.loongarch.lsx.vandi.b(<16 x i8> %va, i32 1)