repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[OpenACC] Enable 'attach' clause for combined constructs
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
MSP430
/
stacksave_restore.ll
blob
64bfcc63aad7c2cd18010c499a23ffe7709854eb
1
; RUN: llc < %s -march=msp430
2
3
target triple = "msp430"
4
5
define void @foo() {
6
entry:
7
%0 = tail call ptr @llvm.stacksave()
8
tail call void @llvm.stackrestore(ptr %0)
9
ret void
10
}
11
12
declare ptr @llvm.stacksave()
13
declare void @llvm.stackrestore(ptr)