projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Use the llvm-upgrade program to upgrade llvm assembly.
[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