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
[ARM] Better OR's for MVE compares
[llvm-core.git]
/
test
/
Transforms
/
InstCombine
/
2008-10-11-DivCompareFold.ll
blob
cf29f8d9bf24618f42701b2c1dd4b087ab508e6f
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
}