llvm-6502/test/CodeGen/X86/2010-06-14-fast-isel-fs-load.ll
Chris Lattner 868ee9460c fix fastisel to handle GS and FS relative pointers. Patch by
Nelson Elhage!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106031 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-15 19:08:40 +00:00

7 lines
172 B
LLVM

; RUN: llc -fast-isel -march=x86 < %s | grep %fs:
define i32 @test1(i32 addrspace(257)* %arg) nounwind {
%tmp = load i32 addrspace(257)* %arg
ret i32 %tmp
}