repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' into msp430
[llvm/msp430.git]
/
test
/
CodeGen
/
ARM
/
ispositive.ll
blob
8dcac30fac8be44ef12e25144e86123fa18ca88c
1
; RUN: llvm-as < %s | llc -march=arm | grep {mov r0, r0, lsr #31}
2
; RUN: llvm-as < %s | llc -march=thumb | grep {lsr r0, r0, #31}
3
4
define i32 @test1(i32 %X) {
5
entry:
6
icmp slt i32 %X, 0 ; <i1>:0 [#uses=1]
7
zext i1 %0 to i32 ; <i32>:1 [#uses=1]
8
ret i32 %1
9
}
10