bolt/deps/llvm-18.1.8/llvm/test/CodeGen/LoongArch/lasx/intrinsic-st-non-imm.ll
2025-02-14 19:21:04 +01:00

10 lines
344 B
LLVM

; RUN: not llc --mtriple=loongarch64 --mattr=+lasx < %s 2>&1 | FileCheck %s
declare void @llvm.loongarch.lasx.xvst(<32 x i8>, i8*, i32)
define void @lasx_xvst(<32 x i8> %va, i8* %p, i32 %b) nounwind {
; CHECK: immarg operand has non-immediate parameter
entry:
call void @llvm.loongarch.lasx.xvst(<32 x i8> %va, i8* %p, i32 %b)
ret void
}