projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
LegalizeTypes support for VSETCC. Fixes PR2575.
[oota-llvm.git]
/
test
/
CodeGen
/
ARM
/
addrmode.ll
1
; RUN: llvm-as < %s | llc -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
}