mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
5cc9a36d1c
addrspace(257) -> FS relative on x86. Patch by Zoltan Varga! llvm-svn: 70992
9 lines
294 B
LLVM
9 lines
294 B
LLVM
; RUN: llvm-as < %s | llc -march=x86 | grep fs
|
|
|
|
define i32 @foo() nounwind readonly {
|
|
entry:
|
|
%tmp = load i32* addrspace(257)* getelementptr (i32* addrspace(257)* inttoptr (i32 72 to i32* addrspace(257)*), i32 31) ; <i32*> [#uses=1]
|
|
%tmp1 = load i32* %tmp ; <i32> [#uses=1]
|
|
ret i32 %tmp1
|
|
}
|