repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Use static inline to do the right thing when built in C99 mode. Of course,
[llvm/stm8.git]
/
test
/
CodeGen
/
Thumb
/
pop.ll
blob
63f2feb765fe0c311652488ba58d6ed9f3066998
1
; RUN: llc < %s -mtriple=thumb-apple-darwin | FileCheck %s
2
; rdar://7268481
3
4
define void @t(i8* %a, ...) nounwind {
5
; CHECK: t:
6
; CHECK: pop {r3}
7
; CHECK-NEXT: add sp, #12
8
; CHECK-NEXT: bx r3
9
entry:
10
%a.addr = alloca i8*
11
store i8* %a, i8** %a.addr
12
ret void
13
}