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
5 ; Function Attrs: nounwind readnone
6 declare ptr @llvm.thread.pointer() #1
8 define ptr @thread_pointer() {
9 ; CHECK-32-LABEL: @thread_pointer
12 ; CHECK-64-LABEL: @thread_pointer
15 %1 = tail call ptr @llvm.thread.pointer()