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
/
2009-06-16-SRemDemandedBits.ll
blob
6beedf83cd6a2278fbcfc48f23788ff6ca81f557
1
; RUN: opt < %s -instcombine -S | grep srem
2
; PR3439
3
4
define i32 @a(i32 %x) nounwind {
5
entry:
6
%rem = srem i32 %x, 2
7
%and = and i32 %rem, 2
8
ret i32 %and
9
}