[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:54:15 PDT 2016


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

- Fix check for global definition.
- Move the definition of isGlobalDefinedInPIE into X86Subtarget.h


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.54556.patch
Type: text/x-patch
Size: 6484 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160421/b28a43e7/attachment.bin>


More information about the llvm-commits mailing list