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
Revert "[InstCombine] Support gep nuw in icmp folds" (#118698)
[llvm-project.git]
/
llvm
/
test
/
Transforms
/
InstCombine
/
2008-11-27-IDivVector.ll
blob
0ed52a29c1dcc4cb7f621c6ecb6888242b7e862a
1
; RUN: opt < %s -passes=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
}