llvm.org GIT mirror llvm / release_30 test / CodeGen / X86 / x86-frameaddr2.ll
release_30

Tree @release_30 (Download .tar.gz)

x86-frameaddr2.ll @release_30raw · history · blame

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

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

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