repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[InstCombine] Signed saturation patterns
[llvm-core.git]
/
test
/
Transforms
/
InstCombine
/
2008-06-21-CompareMiscomp.ll
blob
80bd83bc6ba0d914c24fac2a57f556d0c30ea009
1
; RUN: opt < %s -instcombine -S | 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