xref: /llvm-project/llvm/test/CodeGen/LoongArch/lsx/intrinsic-ori-non-imm.ll (revision 0c76f46ca676ebecbdf2c9f7e8b05421a234bbed)
1; RUN: not llc --mtriple=loongarch64 --mattr=+lsx < %s 2>&1 | FileCheck %s
2
3declare <16 x i8> @llvm.loongarch.lsx.vori.b(<16 x i8>, i32)
4
5define <16 x i8> @lsx_vori_b(<16 x i8> %va, i32 %b) nounwind {
6; CHECK: immarg operand has non-immediate parameter
7entry:
8  %res = call <16 x i8> @llvm.loongarch.lsx.vori.b(<16 x i8> %va, i32 %b)
9  ret <16 x i8> %res
10}
11