mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
2dbac841f9
This reverts commit bb51d243308dbcc9a8c73180ae7b9e47b98e68fb.
12 lines
401 B
LLVM
12 lines
401 B
LLVM
; RUN: not llc < %s -O1 -mtriple=armv6-none-none-eabi 2>&1 | FileCheck %s
|
|
; RUN: not llc < %s -O1 -mtriple=thumbv7-none-none-eabi 2>&1 | FileCheck %s
|
|
|
|
; immediate argument > upper-bound
|
|
; CHECK: LLVM ERROR: Cannot select: intrinsic %llvm.arm.usat
|
|
define i32 @usat1() nounwind {
|
|
%tmp = call i32 @llvm.arm.usat(i32 128, i32 32)
|
|
ret i32 %tmp
|
|
}
|
|
|
|
declare i32 @llvm.arm.usat(i32, i32) nounwind readnone
|