projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Sparc backend:
[oota-llvm.git]
/
test
/
CodeGen
/
Thumb
/
mul.ll
1
; RUN: llc < %s -march=thumb | grep mul | count 3
2
; RUN: llc < %s -march=thumb | grep lsl | count 1
3
4
define i32 @f1(i32 %u) {
5
%tmp = mul i32 %u, %u
6
ret i32 %tmp
7
}
8
9
define i32 @f2(i32 %u, i32 %v) {
10
%tmp = mul i32 %u, %v
11
ret i32 %tmp
12
}
13
14
define i32 @f3(i32 %u) {
15
%tmp = mul i32 %u, 5
16
ret i32 %tmp
17
}
18
19
define i32 @f4(i32 %u) {
20
%tmp = mul i32 %u, 4
21
ret i32 %tmp
22
}