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
/
vector-srem.ll
blob
acb11c52adb39c5d88d636c1c1aa5968a155a526
1
; RUN: opt < %s -instcombine -S | grep {srem <4 x i32>}
2
3
define <4 x i32> @foo(<4 x i32> %t, <4 x i32> %u)
4
{
5
%k = sdiv <4 x i32> %t, %u
6
%l = mul <4 x i32> %k, %u
7
%m = sub <4 x i32> %t, %l
8
ret <4 x i32> %m
9
}