repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Shrink Thumb2 movcc instructions.
[llvm/avr.git]
/
test
/
CodeGen
/
ARM
/
long-setcc.ll
blob
4bab330c736043b142282b559d3b46c2c11ec54e
1
; RUN: llvm-as < %s | llc -march=arm | grep cmp | count 1
2
3
4
define i1 @t1(i64 %x) {
5
%B = icmp slt i64 %x, 0
6
ret i1 %B
7
}
8
9
define i1 @t2(i64 %x) {
10
%tmp = icmp ult i64 %x, 4294967296
11
ret i1 %tmp
12
}
13
14
define i1 @t3(i32 %x) {
15
%tmp = icmp ugt i32 %x, -1
16
ret i1 %tmp
17
}