1 ; RUN: not llc --mtriple=loongarch64 --mattr=+lasx < %s 2>&1 | FileCheck %s
3 declare <8 x i32> @llvm.loongarch.lasx.xvpickve.w(<8 x i32>, i32)
5 define <8 x i32> @lasx_xvpickve_w(<8 x i32> %va, i32 %c) nounwind {
6 ; CHECK: immarg operand has non-immediate parameter
8 %res = call <8 x i32> @llvm.loongarch.lasx.xvpickve.w(<8 x i32> %va, i32 %c)
12 declare <4 x i64> @llvm.loongarch.lasx.xvpickve.d(<4 x i64>, i32)
14 define <4 x i64> @lasx_xvpickve_d(<4 x i64> %va, i32 %c) nounwind {
15 ; CHECK: immarg operand has non-immediate parameter
17 %res = call <4 x i64> @llvm.loongarch.lasx.xvpickve.d(<4 x i64> %va, i32 %c)
21 declare <8 x float> @llvm.loongarch.lasx.xvpickve.w.f(<8 x float>, i32)
23 define <8 x float> @lasx_xvpickve_w_f(<8 x float> %va, i32 %c) nounwind {
24 ; CHECK: immarg operand has non-immediate parameter
26 %res = call <8 x float> @llvm.loongarch.lasx.xvpickve.w.f(<8 x float> %va, i32 %c)
30 declare <4 x double> @llvm.loongarch.lasx.xvpickve.d.f(<4 x double>, i32)
32 define <4 x double> @lasx_xvpickve_d_f(<4 x double> %va, i32 %c) nounwind {
33 ; CHECK: immarg operand has non-immediate parameter
35 %res = call <4 x double> @llvm.loongarch.lasx.xvpickve.d.f(<4 x double> %va, i32 %c)