brintos

brintos / llvm-project-archived public Read only

0
0
Text · 660 B · f112b58 Raw
16 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc --mtriple=loongarch32 --mattr=+32s,+lasx < %s | FileCheck %s3; RUN: llc --mtriple=loongarch64 --mattr=+lasx < %s | FileCheck %s4 5declare <32 x i8> @llvm.loongarch.lasx.xvbitsel.v(<32 x i8>, <32 x i8>, <32 x i8>)6 7define <32 x i8> @lasx_xvbitsel_v(<32 x i8> %va, <32 x i8> %vb, <32 x i8> %vc) nounwind {8; CHECK-LABEL: lasx_xvbitsel_v:9; CHECK:       # %bb.0: # %entry10; CHECK-NEXT:    xvbitsel.v $xr0, $xr0, $xr1, $xr211; CHECK-NEXT:    ret12entry:13  %res = call <32 x i8> @llvm.loongarch.lasx.xvbitsel.v(<32 x i8> %va, <32 x i8> %vb, <32 x i8> %vc)14  ret <32 x i8> %res15}16