repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix edge cases in handling basic block split.
[llvm-complete.git]
/
test
/
CodeGen
/
PowerPC
/
mul-neg-power-2.ll
blob
b9be1cc45554cc550b13c48d77664acfa826a6bd
1
; RUN: llvm-upgrade < %s | llvm-as | llc -march=ppc32 | not grep mul
2
3
int %test1(int %a) {
4
%tmp.1 = mul int %a, -2 ; <int> [#uses=1]
5
%tmp.2 = add int %tmp.1, 63 ; <int> [#uses=1]
6
ret int %tmp.2
7
}
8