1 ; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu | FileCheck %s
2 ; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu -regalloc=basic | FileCheck %s
4 declare i8* @llvm.frameaddress(i32) nounwind readnone
6 define i8* @g2() nounwind readnone {
10 %0 = tail call i8* @llvm.frameaddress(i32 1) ; <i8*> [#uses=1]
14 declare i8* @llvm.returnaddress(i32) nounwind readnone
16 define i8* @g() nounwind readnone {
23 %0 = tail call i8* @llvm.returnaddress(i32 1) ; <i8*> [#uses=1]