revert a hunk of r82018 that wasn't supposed to go in yet.
[llvm/avr.git] / test / CodeGen / X86 / inline-asm-pic.ll
blob0b5ff08c3f326473f4cacf19ca4825ae66fa02c4
1 ; RUN: llc < %s -mtriple=i386-apple-darwin -relocation-model=pic | grep lea
2 ; RUN: llc < %s -mtriple=i386-apple-darwin -relocation-model=pic | grep call
4 @main_q = internal global i8* null              ; <i8**> [#uses=1]
6 define void @func2() nounwind {
7 entry:
8         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         ret void