[all-commits] [llvm/llvm-project] d695d0: [lld-macho] Optimize bind opcodes with multiple pa...
Vincent Lee via All-commits
all-commits at lists.llvm.org
Thu Jul 15 20:53:12 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d695d0d6f60528841ab8671cdccff85f889ca95d
https://github.com/llvm/llvm-project/commit/d695d0d6f60528841ab8671cdccff85f889ca95d
Author: Vincent Lee <leevince at fb.com>
Date: 2021-07-15 (Thu, 15 Jul 2021)
Changed paths:
M lld/MachO/Config.h
M lld/MachO/Driver.cpp
M lld/MachO/Options.td
M lld/MachO/SyntheticSections.cpp
M lld/test/MachO/bind-opcodes.s
Log Message:
-----------
[lld-macho] Optimize bind opcodes with multiple passes
In D105866, 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. Currently, the functionality mirrors the
optimization pass {1,2} done in ld64 for bind opcodes under optimization gate
to prevent slight regressions.
Reviewed By: int3, #lld-macho
Differential Revision: https://reviews.llvm.org/D105867
More information about the All-commits
mailing list