1 ; RUN: llvm-as < %s | llc -march=ppc32 | grep mflr
2 ; RUN: llvm-as < %s | llc -march=ppc32 | grep lwz
3 ; RUN: llvm-as < %s | llc -march=ppc64 | grep {ld r., 16(r1)}
5 target triple = "powerpc-apple-darwin8"
7 define void @foo(i8** %X) {
9 %tmp = tail call i8* @llvm.returnaddress( i32 0 ) ; <i8*> [#uses=1]
10 store i8* %tmp, i8** %X, align 4
14 declare i8* @llvm.returnaddress(i32)