[PATCH] D19582: [X86] Add support for llvm.thread.pointer
David Majnemer via llvm-commits
llvm-commits at lists.llvm.org
Wed May 11 09:53:41 PDT 2016
majnemer added a subscriber: majnemer.
================
Comment at: lib/Target/X86/X86ISelLowering.cpp:17825
@@ +17824,3 @@
+ EVT PtrVT = TLI.getPointerTy(DAG.getDataLayout());
+ // Get the Thread Pointer, which is %gs:0 (32-bit) or %fs:0 (64-bit).
+ Value *Ptr = Constant::getNullValue(
----------------
This isn't true for windows.
Repository:
rL LLVM
http://reviews.llvm.org/D19582
More information about the llvm-commits
mailing list