projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Some code clean up.
[oota-llvm.git]
/
test
/
Transforms
/
InstCombine
/
2008-06-21-CompareMiscomp.ll
1
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | grep {icmp eq i32 %In, 15}
2
; PR2479
3
; (See also PR1800.)
4
5
define i1 @test(i32 %In) {
6
%c1 = icmp ugt i32 %In, 13
7
%c2 = icmp eq i32 %In, 15
8
%V = and i1 %c1, %c2
9
ret i1 %V
10
}
11