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
/
PowerPC
/
setcc_no_zext.ll
blob
9b2036e1dc52c1934b1c242f032d36c2b48e2eeb
1
; RUN: llc < %s -march=ppc32 | not grep rlwinm
2
3
define i32 @setcc_one_or_zero(i32* %a) {
4
entry:
5
%tmp.1 = icmp ne i32* %a, null ; <i1> [#uses=1]
6
%inc.1 = zext i1 %tmp.1 to i32 ; <i32> [#uses=1]
7
ret i32 %inc.1
8
}
9