aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/x86-frameaddr2.ll
blob: c5091154152bcc190b6b5a9e024cb2d8504560fe (plain)
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