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
/
X86
/
sext-ret-val.ll
blob
946e6c78892ef9486cf5de1d7b1aa48f98e0aa42
1
; RUN: llvm-as < %s | llc -march=x86 | grep movzbl | count 1
2
; rdar://6699246
3
4
define signext i8 @t1(i8* %A) nounwind readnone ssp {
5
entry:
6
%0 = icmp ne i8* %A, null
7
%1 = zext i1 %0 to i8
8
ret i8 %1
9
}
10
11
define i8 @t2(i8* %A) nounwind readnone ssp {
12
entry:
13
%0 = icmp ne i8* %A, null
14
%1 = zext i1 %0 to i8
15
ret i8 %1
16
}