repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix PR4963: folding insertvalue would sometimes turn a packed struct into
[llvm/avr.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
}