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
/
addrmode.ll
blob
9ccff07d456bbc579878b7cad6ed69c8de3b6918
1
; RUN: llc < %s -march=arm -stats |& grep asm-printer | grep 4
2
3
define i32 @t1(i32 %a) {
4
%b = mul i32 %a, 9
5
%c = inttoptr i32 %b to i32*
6
%d = load i32* %c
7
ret i32 %d
8
}
9
10
define i32 @t2(i32 %a) {
11
%b = mul i32 %a, -7
12
%c = inttoptr i32 %b to i32*
13
%d = load i32* %c
14
ret i32 %d
15
}