1 ; RUN: llc < %s -march=x86-64 | grep movq | grep rbp
2
3 define i64* @stack_end_address() nounwind {
4 entry:
5 tail call i8* @llvm.frameaddress( i32 0 )
6 bitcast i8* %0 to i64*
7 ret i64* %1
8 }
9
10 declare i8* @llvm.frameaddress(i32) nounwind readnone
11