Dan Gohman | 36a0947 | 2009-09-08 23:54:48 +0000 | [diff] [blame] | 1 | ; RUN: llc < %s -march=x86 | grep {mov %gs:72, %eax} |
Chris Lattner | 9a4fdfa | 2007-03-25 01:44:40 +0000 | [diff] [blame] | 2 | target datalayout = "e-p:32:32" |
3 | target triple = "i686-apple-darwin9" | ||||
4 | |||||
5 | define 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 |