aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/x86-frameaddr.ll
blob: d5958745dfff86a7b2844c31074d91b5b6f9f940 (plain)
1
2
3
4
5
6
7
8
9
; RUN: llc < %s -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