1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=x86 -no-integrated-as | grep "mov %gs:72, %eax" 2*9880d681SAndroid Build Coastguard Workertarget datalayout = "e-p:32:32" 3*9880d681SAndroid Build Coastguard Workertarget triple = "i686-apple-darwin9" 4*9880d681SAndroid Build Coastguard Worker 5*9880d681SAndroid Build Coastguard Workerdefine void @test() { 6*9880d681SAndroid Build Coastguard Worker %tmp1 = tail call i32* asm sideeffect "mov %gs:${1:P}, $0", "=r,i,~{dirflag},~{fpsr},~{flags}"( i32 72 ) ; <%struct._pthread*> [#uses=1] 7*9880d681SAndroid Build Coastguard Worker ret void 8*9880d681SAndroid Build Coastguard Worker} 9*9880d681SAndroid Build Coastguard Worker 10*9880d681SAndroid Build Coastguard Worker 11