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
Indentation change.
[llvm/avr.git]
/
test
/
Transforms
/
InstCombine
/
2008-11-01-SRemDemandedBits.ll
blob
46e98eb3627c25c7efa0feef6e2b57c0f10cd6b8
1
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | 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
}