blob: e53f82b3efa385c6b04b236fef2f80582bd3b8f0 [file] [log] [blame]
Asiri Rathnayake1040a532015-10-19 11:44:24 +00001; RUN: not llc < %s -O1 -mtriple=armv6-none-none-eabi 2>&1 | FileCheck %s
Weiming Zhao613c6862015-12-20 06:41:44 +00002; RUN: not llc < %s -O1 -mtriple=thumbv7-none-none-eabi 2>&1 | FileCheck %s
Asiri Rathnayake1040a532015-10-19 11:44:24 +00003
4; immediate argument > upper-bound
5; CHECK: LLVM ERROR: Cannot select: intrinsic %llvm.arm.ssat
6define i32 @ssat1() nounwind {
7 %tmp = call i32 @llvm.arm.ssat(i32 128, i32 33)
8 ret i32 %tmp
9}
10
11declare i32 @llvm.arm.ssat(i32, i32) nounwind readnone