blob: 0bc038c869ced502530018f7190e664507f28f8f [file] [log] [blame]
; RUN: not llc --mtriple=loongarch64 --mattr=+lsx < %s 2>&1 | FileCheck %s
declare <16 x i8> @llvm.loongarch.lsx.vbsrl.v(<16 x i8>, i32)
define <16 x i8> @lsx_vbsrl_v(<16 x i8> %va, i32 %b) nounwind {
; CHECK: immarg operand has non-immediate parameter
entry:
%res = call <16 x i8> @llvm.loongarch.lsx.vbsrl.v(<16 x i8> %va, i32 %b)
ret <16 x i8> %res
}