projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Run this through -simplifycfg and -mem2reg to test only what we need to test.
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
x86-64-frameaddr.ll
1
; RUN: llvm-as < %s | llc -march=x86-64 | grep movq | grep rbp
2
3
define i64* @stack_end_address() nounwind {
4
entry:
5
tail call i8* @llvm.frameaddress( i32 0 )
6
bitcast i8* %0 to i64*
7
ret i64* %1
8
}
9
10
declare i8* @llvm.frameaddress(i32) nounwind readnone