repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Document the return value of __builtin_COLUMN (#118360)
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
InstCombine
/
srem-simplify-bug.ll
blob
4a5833a58066f6798f28556552c81af489c1442f
1
; RUN: opt < %s -passes=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
}