In some rare cases, the register allocator can spill registers but end up not utilizi...
[llvm/msp430.git] / test / CodeGen / X86 / x86-64-frameaddr.ll
blob80060996f32bd15348d0e0627778e509fefc4f28
1 ; RUN: llvm-as < %s | llc -march=x86-64 | grep movq | grep rbp
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
10 declare i8* @llvm.frameaddress(i32) nounwind readnone