[PATCH] D27145: Add "RPRED" mechanism for relocation predicates. (5% speedup for `ld.lld -O0`)

Sean Silva via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 26 22:30:56 PST 2016


silvas updated this revision to Diff 79349.
silvas added a comment.

Simplify the definition of the predicates to be easier to follow. There is no longer any need to have the predicate definitions in Relocations.def

Rui, let me know if you like this approach better (or have suggestions for a simpler approach).


https://reviews.llvm.org/D27145

Files:
  ELF/Relocations.cpp
  ELF/Relocations.def
  ELF/Relocations.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27145.79349.patch
Type: text/x-patch
Size: 9556 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161127/266fc72c/attachment.bin>


More information about the llvm-commits mailing list