[PATCH] D105867: [WIP][lld-macho] Optimize bind opcodes with multiple passes

Vincent Lee via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 12 21:00:18 PDT 2021


thevinster created this revision.
Herald added a reviewer: int3.
Herald added a reviewer: gkm.
Herald added a project: lld-macho.
Herald added a reviewer: lld-macho.
thevinster requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

In D10586 <https://reviews.llvm.org/D10586>, we used an intermediate container to store a list of opcodes. Here, we use that data structure to help us perform optimization passes that would allow a more efficient encoding of bind opcodes


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D105867

Files:
  lld/MachO/SyntheticSections.cpp
  lld/test/MachO/bind-opcodes.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105867.358136.patch
Type: text/x-patch
Size: 8592 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210713/611ced20/attachment.bin>


More information about the llvm-commits mailing list