1 ; RUN: llc < %s -march=x86-64 | FileCheck %s
3 ; CHECK: stack_end_address
4 ; CHECK: {{movq.+rbp.*$}}
5 ; CHECK: {{movq.+rbp.*$}}
8 define i64* @stack_end_address() nounwind {
10 tail call i8* @llvm.frameaddress( i32 0 )
11 bitcast i8* %0 to i64*
15 declare i8* @llvm.frameaddress(i32) nounwind readnone