source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/ARM/usat-lower.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 401 bytes
Line 
1; RUN: not llc < %s -O1 -mtriple=armv6-none-none-eabi 2>&1 | FileCheck %s
2; RUN: not llc < %s -O1 -mtriple=thumbv7-none-none-eabi 2>&1 | FileCheck %s
3
4; immediate argument < lower-bound
5; CHECK: LLVM ERROR: Cannot select: intrinsic %llvm.arm.usat
6define i32 @usat1() nounwind {
7  %tmp = call i32 @llvm.arm.usat(i32 128, i32 -1)
8  ret i32 %tmp
9}
10
11declare i32 @llvm.arm.usat(i32, i32) nounwind readnone
Note: See TracBrowser for help on using the repository browser.