• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -mtriple=sparc-unknown-linux-gnu | FileCheck %s
2; RUN: llc < %s -mtriple=sparc64-unknown-linux-gnu | FileCheck %s
3
4; Function Attrs: nounwind readnone
5declare i8* @llvm.thread.pointer() #1
6
7define i8* @thread_pointer() {
8; CHECK: mov %g7, %o0
9  %1 = tail call i8* @llvm.thread.pointer()
10  ret i8* %1
11}
12