projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Eliminate more uses of llvm-as and llvm-dis.
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
2008-02-14-BitMiscompile.ll
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