aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/ARM/usat-v4t.ll
blob: 9cc75846ca36a619bf3ce2db72cfed193ef73ecb (plain)
1
2
3
4
5
6
7
8
9
; RUN: not --crash llc -O1 -mtriple=armv4t-none-none-eabi %s -o - 2>&1 | FileCheck %s

; CHECK: LLVM ERROR: Cannot select: intrinsic %llvm.arm.usat
define i32 @usat1() nounwind {
  %tmp = call i32 @llvm.arm.usat(i32 128, i32 31)
  ret i32 %tmp
}

declare i32 @llvm.arm.usat(i32, i32) nounwind readnone