mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-31 16:02:52 +01:00
df2896d609
llvm-svn: 81290
11 lines
412 B
LLVM
11 lines
412 B
LLVM
; RUN: llc < %s -mtriple=i386-apple-darwin -relocation-model=pic | grep lea
|
|
; RUN: llc < %s -mtriple=i386-apple-darwin -relocation-model=pic | grep call
|
|
|
|
@main_q = internal global i8* null ; <i8**> [#uses=1]
|
|
|
|
define void @func2() nounwind {
|
|
entry:
|
|
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
|
|
ret void
|
|
}
|