[PATCH] D19040: Remove unnecessary load via GOT when accessing globals with PIE in x86_64

Sriraman Tallam via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 21 11:01:53 PDT 2016


tmsriram updated this revision to Diff 54544.
tmsriram added a comment.

- Moved check for Global Definition in PIE to a new function.
- Fixed weak global symbol access for PIE to not use the GOT.


http://reviews.llvm.org/D19040

Files:
  lib/Target/X86/X86Subtarget.cpp
  lib/Target/X86/X86Subtarget.h
  test/CodeGen/X86/emutls-pie.ll
  test/CodeGen/X86/global-access-pie.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19040.54544.patch
Type: text/x-patch
Size: 7015 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160421/230180ce/attachment.bin>


More information about the llvm-commits mailing list