mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-03 09:21:13 +00:00
36a0947820
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81290 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
298 B
LLVM
11 lines
298 B
LLVM
; RUN: llc < %s -march=x86 | grep {mov %gs:72, %eax}
|
|
target datalayout = "e-p:32:32"
|
|
target triple = "i686-apple-darwin9"
|
|
|
|
define void @test() {
|
|
%tmp1 = tail call i32* asm sideeffect "mov %gs:${1:P}, $0", "=r,i,~{dirflag},~{fpsr},~{flags}"( i32 72 ) ; <%struct._pthread*> [#uses=1]
|
|
ret void
|
|
}
|
|
|
|
|