repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[ARM] Better OR's for MVE compares
[llvm-core.git]
/
test
/
Transforms
/
InstCombine
/
2008-11-27-MultiplyIntVec.ll
blob
d8c53fac49e0d073cb6dce43cf59c0b1362391e5
1
; RUN: opt < %s -instcombine -S | not grep mul
2
3
define <2 x i8> @f(<2 x i8> %x) {
4
%A = mul <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 = mul <2 x i8> %x, <i8 -1, i8 -1>
10
ret <2 x i8> %A
11
}