mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
470e89bab4
Differential Revision: http://reviews.llvm.org/D19387 llvm-svn: 267544
12 lines
318 B
LLVM
12 lines
318 B
LLVM
; RUN: llc < %s -mtriple=sparc-unknown-linux-gnu | FileCheck %s
|
|
; RUN: llc < %s -mtriple=sparc64-unknown-linux-gnu | FileCheck %s
|
|
|
|
; Function Attrs: nounwind readnone
|
|
declare i8* @llvm.thread.pointer() #1
|
|
|
|
define i8* @thread_pointer() {
|
|
; CHECK: mov %g7, %o0
|
|
%1 = tail call i8* @llvm.thread.pointer()
|
|
ret i8* %1
|
|
}
|