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
Bump version to 19.1.0-rc3
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
InstCombine
/
2008-10-11-DivCompareFold.ll
blob
634de983d626fad98e7c593211aa0155d990d7d9
1
; RUN: opt < %s -passes=instcombine -S | grep "ret i1 false"
2
; PR2697
3
4
define i1 @x(i32 %x) nounwind {
5
%div = sdiv i32 %x, 65536 ; <i32> [#uses=1]
6
%cmp = icmp slt i32 %div, -65536
7
ret i1 %cmp
8
}