12 lines · plain
1; RUN: not llc --mtriple=loongarch32 --mattr=+32s,+lsx < %s 2>&1 | FileCheck %s2; RUN: not llc --mtriple=loongarch64 --mattr=+lsx < %s 2>&1 | FileCheck %s3 4declare void @llvm.loongarch.lsx.vst(<16 x i8>, ptr, i32)5 6define void @lsx_vst(<16 x i8> %va, ptr %p, i32 %b) nounwind {7; CHECK: immarg operand has non-immediate parameter8entry:9 call void @llvm.loongarch.lsx.vst(<16 x i8> %va, ptr %p, i32 %b)10 ret void11}12