Skip to content

Commit 9cc9f0f

Browse files
committed
new testcase
llvm-svn: 24103
1 parent f0b77f9 commit 9cc9f0f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
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+

0 commit comments

Comments
 (0)