bolt/deps/llvm-18.1.8/llvm/test/CodeGen/LoongArch/lsx/intrinsic-mskgez.ll
2025-02-14 19:21:04 +01:00

14 lines
484 B
LLVM

; 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.vmskgez.b(<16 x i8>)
define <16 x i8> @lsx_vmskgez_b(<16 x i8> %va) nounwind {
; CHECK-LABEL: lsx_vmskgez_b:
; CHECK: # %bb.0: # %entry
; CHECK-NEXT: vmskgez.b $vr0, $vr0
; CHECK-NEXT: ret
entry:
%res = call <16 x i8> @llvm.loongarch.lsx.vmskgez.b(<16 x i8> %va)
ret <16 x i8> %res
}