1 ; RUN: llc -verify-machineinstrs -mcpu=pwr7 < %s | FileCheck %s
2 target datalayout = "E-m:e-i64:64-n32:64"
3 target triple = "powerpc64-unknown-linux-gnu"
5 ; Function Attrs: nounwind readnone
6 define i8* @test1() #0 {
8 %0 = tail call i8* @llvm.returnaddress(i32 0)
13 ; CHECK: mflr {{[0-9]+}}
15 ; CHECK-DAG: ld 3, 64(1)
16 ; CHECK-DAG: ld [[SR:[0-9]+]], 16(1)
20 ; Function Attrs: nounwind readnone
21 declare i8* @llvm.returnaddress(i32) #0
23 attributes #0 = { nounwind readnone }