llvm.org GIT mirror llvm / release_26 test / CodeGen / X86 / x86-frameaddr.ll
release_26

Tree @release_26 (Download .tar.gz)

x86-frameaddr.ll @release_26raw · history · blame

1
2
3
4
5
6
7
8
9
; RUN: llvm-as < %s | llc -march=x86 | grep mov | grep ebp

define i8* @t() nounwind {
entry:
	%0 = tail call i8* @llvm.frameaddress(i32 0)
	ret i8* %0
}

declare i8* @llvm.frameaddress(i32) nounwind readnone