bolt/deps/llvm-18.1.8/llvm/test/CodeGen/LoongArch/lsx/intrinsic-ld-non-imm.ll

11 lines
328 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; RUN: not llc --mtriple=loongarch64 --mattr=+lsx < %s 2>&1 | FileCheck %s
declare <16 x i8> @llvm.loongarch.lsx.vld(i8*, i32)
define <16 x i8> @lsx_vld(i8* %p, i32 %a) nounwind {
; CHECK: immarg operand has non-immediate parameter
entry:
%res = call <16 x i8> @llvm.loongarch.lsx.vld(i8* %p, i32 %a)
ret <16 x i8> %res
}