blob: 85c0f432c54a2e9eedcb8d0a1111935bc92a7d49 [file] [log] [blame]
; 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.vori.b(<16 x i8>, i32)
define <16 x i8> @lsx_vori_b(<16 x i8> %va) nounwind {
; CHECK-LABEL: lsx_vori_b:
; CHECK: # %bb.0: # %entry
; CHECK-NEXT: vori.b $vr0, $vr0, 3
; CHECK-NEXT: ret
entry:
%res = call <16 x i8> @llvm.loongarch.lsx.vori.b(<16 x i8> %va, i32 3)
ret <16 x i8> %res
}