blob: 9bdb2493508da1f6de51249ae06d1696ba408a53 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-as < %s | llc -march=x86 | grep {mov %gs:72, %eax}
2target datalayout = "e-p:32:32"
3target triple = "i686-apple-darwin9"
4
5define void @test() {
6 %tmp1 = tail call i32* asm sideeffect "mov %gs:${1:P}, $0", "=r,i,~{dirflag},~{fpsr},~{flags}"( i32 72 ) ; <%struct._pthread*> [#uses=1]
7 ret void
8}
9
10