projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Don't restrict the set of instructions where we try to constant-fold the
[oota-llvm.git]
/
test
/
Transforms
/
InstCombine
/
srem-simplify-bug.ll
1
; RUN: llvm-as < %s | opt -instcombine | llvm-dis | 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
}