repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Use static inline to do the right thing when built in C99 mode. Of course,
[llvm/stm8.git]
/
test
/
CodeGen
/
ARM
/
ispositive.ll
blob
2f1a2cfd7786df68d783b1b2689d25960293ca04
1
; RUN: llc < %s -march=arm | FileCheck %s
2
3
define i32 @test1(i32 %X) {
4
; CHECK: lsr{{.*}}#31
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