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-11-01-SRemDemandedBits.ll
blob
aa077e2ac3b324177d481a8458333964a6eaeb96
1
; RUN: opt < %s -instcombine -S | grep {ret i1 true}
2
; PR2993
3
4
define i1 @foo(i32 %x) {
5
%1 = srem i32 %x, -1
6
%2 = icmp eq i32 %1, 0
7
ret i1 %2
8
}