bolt/deps/llvm-18.1.8/llvm/test/CodeGen/LoongArch/lasx/intrinsic-andi-non-imm.ll

11 lines
367 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; RUN: not llc --mtriple=loongarch64 --mattr=+lasx < %s 2>&1 | FileCheck %s
declare <32 x i8> @llvm.loongarch.lasx.xvandi.b(<32 x i8>, i32)
define <32 x i8> @lasx_xvandi_b(<32 x i8> %va, i32 %b) nounwind {
; CHECK: immarg operand has non-immediate parameter
entry:
%res = call <32 x i8> @llvm.loongarch.lasx.xvandi.b(<32 x i8> %va, i32 %b)
ret <32 x i8> %res
}