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
make tblgen produce a function that returns the name for a physreg.
[llvm/avr.git]
/
test
/
CodeGen
/
Thumb
/
long-setcc.ll
blob
8f2d98fc43c9930aa7501d38092e57728e41b211
1
; RUN: llc < %s -march=thumb | 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
}