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
/
2008-11-27-IDivVector.ll
blob
318a80cbc2a472a104c3c50ad8fb67b3e591b42f
1
; RUN: opt < %s -instcombine -S | not grep div
2
3
define <2 x i8> @f(<2 x i8> %x) {
4
%A = udiv <2 x i8> %x, <i8 1, i8 1>
5
ret <2 x i8> %A
6
}
7
8
define <2 x i8> @g(<2 x i8> %x) {
9
%A = sdiv <2 x i8> %x, <i8 1, i8 1>
10
ret <2 x i8> %A
11
}