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
/
srem-simplify-bug.ll
blob
af824a445df0ece08d2962a06b9b0f4334a16c83
1
; RUN: opt < %s -instcombine -S | grep {ret i1 false}
2
; PR2276
3
4
define i1 @f(i32 %x) {
5
%A = or i32 %x, 1
6
%B = srem i32 %A, 1
7
%C = icmp ne i32 %B, 0
8
ret i1 %C
9
}