Refactor X86 symbol access classification

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Thu May 19 12:50:04 PDT 2016


Refactor X86 symbol access classification.

This refactors the logic in X86 to avoid code duplication. It also
splits it in two steps: it first decides if a symbol is local to the
DSO and then uses that information to decide how to access it.

The first part is implemented by shouldAssumeDSOLocal. It is not in
any way specific to X86. In a followup patch I intend to move it to
somewhere common and reused it in other backends.

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Refactor-X86-symbol-access-classification.patch
Type: text/x-patch
Size: 18757 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160519/988cc06c/attachment.bin>


More information about the llvm-commits mailing list