| Renato Golin | 32b165f | 2016-07-25 22:25:25 +0000 | [diff] [blame] | 1 | ; RUN: not llc -O1 -mtriple=armv4t-none-none-eabi %s -o - 2>&1 | FileCheck %s |
| 2 | |||||
| 3 | ; CHECK: LLVM ERROR: Cannot select: intrinsic %llvm.arm.usat | ||||
| 4 | define i32 @usat1() nounwind { | ||||
| 5 | %tmp = call i32 @llvm.arm.usat(i32 128, i32 31) | ||||
| 6 | ret i32 %tmp | ||||
| 7 | } | ||||
| 8 | |||||
| 9 | declare i32 @llvm.arm.usat(i32, i32) nounwind readnone | ||||