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
/
mul-masked-bits.ll
blob
a43d5f20beaaeede2cb1754e3f2ec0f0d825c569
1
; RUN: opt < %s -instcombine -S | grep ashr
2
3
define i32 @foo(i32 %x, i32 %y) {
4
%a = and i32 %x, 7
5
%b = and i32 %y, 7
6
%c = mul i32 %a, %b
7
%d = shl i32 %c, 26
8
%e = ashr i32 %d, 26
9
ret i32 %e
10
}