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