llvm.org GIT mirror llvm / release_38 test / CodeGen / X86 / 2007-03-24-InlineAsmPModifier.ll
release_38

Tree @release_38 (Download .tar.gz)

2007-03-24-InlineAsmPModifier.ll @release_38raw · history · blame

1
2
3
4
5
6
7
8
; RUN: llc < %s -march=x86 -no-integrated-as | 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
}