1 ; RUN: llc < %s -mtriple=sparc-unknown-linux-gnu | FileCheck %s
2 ; RUN: llc < %s -mtriple=sparc64-unknown-linux-gnu | FileCheck %s
4 ; Function Attrs: nounwind readnone
5 declare ptr @llvm.thread.pointer() #1
7 define ptr @thread_pointer() {
9 %1 = tail call ptr @llvm.thread.pointer()