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
revert a hunk of r82018 that wasn't supposed to go in yet.
[llvm/avr.git]
/
test
/
CodeGen
/
X86
/
2008-02-14-BitMiscompile.ll
blob
1983f1d19c6f8485d2daadc1853860993bda8b62
1
; RUN: llc < %s -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