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
Remove VISIBILITY_HIDDEN from this file.
[llvm/avr.git]
/
test
/
CodeGen
/
X86
/
2008-02-14-BitMiscompile.ll
blob
5bf84560a37c502cf4ef99cfd15ebedd46550c4f
1
; RUN: llvm-as < %s | llc -march=x86 | grep and
2
define i32 @test(i1 %A) {
3
%B = zext i1 %A to i32 ; <i32> [#uses=1]
4
%C = sub i32 0, %B ; <i32> [#uses=1]
5
%D = and i32 %C, 255 ; <i32> [#uses=1]
6
ret i32 %D
7
}
8