[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / llvm / test / CodeGen / LoongArch / lsx / intrinsic-ori-invalid-imm.ll
blob4a7fc7e109d96be6e34be486c8098f689704ec44
1 ; RUN: not llc --mtriple=loongarch64 --mattr=+lsx < %s 2>&1 | FileCheck %s
3 declare <16 x i8> @llvm.loongarch.lsx.vori.b(<16 x i8>, i32)
5 define <16 x i8> @lsx_vori_b_lo(<16 x i8> %va) nounwind {
6 ; CHECK: llvm.loongarch.lsx.vori.b: argument out of range
7 entry:
8   %res = call <16 x i8> @llvm.loongarch.lsx.vori.b(<16 x i8> %va, i32 -1)
9   ret <16 x i8> %res
12 define <16 x i8> @lsx_vori_b_hi(<16 x i8> %va) nounwind {
13 ; CHECK: llvm.loongarch.lsx.vori.b: argument out of range
14 entry:
15   %res = call <16 x i8> @llvm.loongarch.lsx.vori.b(<16 x i8> %va, i32 256)
16   ret <16 x i8> %res