projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
cb1f46c672d903ed446803bc3c36d099a00891ca
[oota-llvm.git]
/
test
/
CodeGen
/
PowerPC
/
mul-neg-power-2.ll
1
; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 &&
2
; RUN: llvm-upgrade < %s | llvm-as | 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