]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/Thumb/long-setcc.ll
Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release):
[FreeBSD/FreeBSD.git] / test / CodeGen / Thumb / long-setcc.ll
1 ; RUN: llc -mtriple=thumb-eabi %s -o - | FileCheck %s
2
3 define i1 @t1(i64 %x) {
4         %B = icmp slt i64 %x, 0
5         ret i1 %B
6 }
7
8 define i1 @t2(i64 %x) {
9         %tmp = icmp ult i64 %x, 4294967296
10         ret i1 %tmp
11 }
12
13 define i1 @t3(i32 %x) {
14         %tmp = icmp ugt i32 %x, -1
15         ret i1 %tmp
16 }
17
18 ; CHECK: cmp
19 ; CHECK-NOT: cmp
20
21
22