repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[libclc] Optimize ceil/fabs/floor/rint/trunc (#119596)
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
InstCombine
/
2007-01-13-ExtCompareMiscompile.ll
blob
96b02c4ce9cb9cff8c3d21aef13e29d37d43add3
1
; RUN: opt < %s -passes=instcombine -S | grep "icmp ugt"
2
; PR1107
3
; PR1940
4
5
define i1 @test(i8 %A, i8 %B) {
6
%a = zext i8 %A to i32
7
%b = zext i8 %B to i32
8
%c = icmp sgt i32 %a, %b
9
ret i1 %c
10
}