1*f4a2713aSLionel Sambuc; RUN: llc < %s -mtriple=i386-apple-darwin -relocation-model=pic | grep lea 2*f4a2713aSLionel Sambuc; RUN: llc < %s -mtriple=i386-apple-darwin -relocation-model=pic | grep call 3*f4a2713aSLionel Sambuc 4*f4a2713aSLionel Sambuc@main_q = internal global i8* null ; <i8**> [#uses=1] 5*f4a2713aSLionel Sambuc 6*f4a2713aSLionel Sambucdefine void @func2() nounwind { 7*f4a2713aSLionel Sambucentry: 8*f4a2713aSLionel Sambuc tail call void asm "mov $1,%gs:$0", "=*m,ri,~{dirflag},~{fpsr},~{flags}"(i8** inttoptr (i32 152 to i8**), i8* bitcast (i8** @main_q to i8*)) nounwind 9*f4a2713aSLionel Sambuc ret void 10*f4a2713aSLionel Sambuc} 11