repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
remove the "old" at&t style asmprinter. Unfortunately, most of the
[llvm/avr.git]
/
test
/
CodeGen
/
Thumb
/
mul.ll
blob
c1a2fb29477db424d7d3bcc08ba6643e4aa36ed8
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
}