brintos

brintos / llvm-project-archived public Read only

0
0
Text · 440 B · 89fb0c6 Raw
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 <16 x i8> @llvm.loongarch.lsx.vbsrl.v(<16 x i8>, i32)5 6define <16 x i8> @lsx_vbsrl_v(<16 x i8> %va, i32 %b) nounwind {7; CHECK: immarg operand has non-immediate parameter8entry:9  %res = call <16 x i8> @llvm.loongarch.lsx.vbsrl.v(<16 x i8> %va, i32 %b)10  ret <16 x i8> %res11}12