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
[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
MSP430
/
stacksave_restore.ll
blob
47c4553929d4b545eeadf21deed8d1ed5254cc51
1
; RUN: llc < %s -march=msp430
2
3
target triple = "msp430"
4
5
define void @foo() {
6
entry:
7
%0 = tail call i8* @llvm.stacksave()
8
tail call void @llvm.stackrestore(i8* %0)
9
ret void
10
}
11
12
declare i8* @llvm.stacksave()
13
declare void @llvm.stackrestore(i8*)