projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
two equivalent vsplti*s in different types should be CSEd.
[oota-llvm.git]
/
test
/
CodeGen
/
PowerPC
/
mul-neg-power-2.ll
1
; RUN: llvm-as < %s | llc -march=ppc32 &&
2
; RUN: llvm-as < %s | llc -march=ppc32 | not grep mul
3
4
int %test1(int %a) {
5
%tmp.1 = mul int %a, -2 ; <int> [#uses=1]
6
%tmp.2 = add int %tmp.1, 63 ; <int> [#uses=1]
7
ret int %tmp.2
8
}
9