bolt/deps/llvm-18.1.8/llvm/test/CodeGen/LoongArch/lasx/intrinsic-ori.ll

15 lines
494 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc --mtriple=loongarch64 --mattr=+lasx < %s | FileCheck %s
declare <32 x i8> @llvm.loongarch.lasx.xvori.b(<32 x i8>, i32)
define <32 x i8> @lasx_xvori_b(<32 x i8> %va) nounwind {
; CHECK-LABEL: lasx_xvori_b:
; CHECK: # %bb.0: # %entry
; CHECK-NEXT: xvori.b $xr0, $xr0, 3
; CHECK-NEXT: ret
entry:
%res = call <32 x i8> @llvm.loongarch.lasx.xvori.b(<32 x i8> %va, i32 3)
ret <32 x i8> %res
}