projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Constant fold the isnan intrinsic
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
2004-02-13-FrameReturnAddress.llx
1
; RUN: llvm-as < %s | llc -march=x86 | grep ESP | grep '\['
2
3
declare sbyte* %llvm.returnaddress(uint)
4
declare sbyte* %llvm.frameaddress(uint)
5
6
sbyte *%test1() {
7
%X = call sbyte* %llvm.returnaddress(uint 0)
8
ret sbyte* %X
9
}
10
11
sbyte *%test2() {
12
%X = call sbyte* %llvm.frameaddress(uint 0)
13
ret sbyte* %X
14
}