repo.or.cz
/
llvm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix a globalopt crash on two Adobe-C++ testcases that the recent
[llvm.git]
/
test
/
Transforms
/
InstCombine
/
2008-10-11-DivCompareFold.ll
blob
fd36d86a94844d2734cdcdfe4c1666481c87b3b1
1
; RUN: opt < %s -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
}