1; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu | FileCheck %s --check-prefix=CHECK-32 2; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64-unknown-linux-gnu | FileCheck %s --check-prefix=CHECK-64 3; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc64le-unknown-linux-gnu | FileCheck %s --check-prefix=CHECK-64 4 5; Function Attrs: nounwind readnone 6declare i8* @llvm.thread.pointer() #1 7 8define i8* @thread_pointer() { 9; CHECK-32-LABEL: @thread_pointer 10; CHECK-32: mr 3, 2 11; CHECK-32: blr 12; CHECK-64-LABEL: @thread_pointer 13; CHECK-64: mr 3, 13 14; CHECK-64: blr 15 %1 = tail call i8* @llvm.thread.pointer() 16 ret i8* %1 17} 18