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
pass machinemoduleinfo down into getSymbolForDwarfGlobalReference,
[llvm/avr.git]
/
test
/
CodeGen
/
ARM
/
mul_const.ll
blob
93188cdd883f613378a694f32eefb8c9cf853286
1
; RUN: llc < %s -march=arm | FileCheck %s
2
3
define i32 @t1(i32 %v) nounwind readnone {
4
entry:
5
; CHECK: t1:
6
; CHECK: add r0, r0, r0, lsl #3
7
%0 = mul i32 %v, 9
8
ret i32 %0
9
}
10
11
define i32 @t2(i32 %v) nounwind readnone {
12
entry:
13
; CHECK: t2:
14
; CHECK: rsb r0, r0, r0, lsl #3
15
%0 = mul i32 %v, 7
16
ret i32 %0
17
}