[all-commits] [llvm/llvm-project] 3df4c5: [NFC] Optimize vector usage in lld
Jez Ng via All-commits
all-commits at lists.llvm.org
Thu Jan 26 17:32:54 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3df4c5a92f7f68d97ada6886c13d8900a5c7eef1
https://github.com/llvm/llvm-project/commit/3df4c5a92f7f68d97ada6886c13d8900a5c7eef1
Author: Jez Ng <jezng at fb.com>
Date: 2023-01-26 (Thu, 26 Jan 2023)
Changed paths:
M lld/COFF/Chunks.cpp
M lld/COFF/Driver.cpp
M lld/COFF/DriverUtils.cpp
M lld/COFF/MinGW.cpp
M lld/COFF/Writer.cpp
M lld/ELF/InputFiles.cpp
M lld/ELF/MapFile.cpp
M lld/ELF/OutputSections.cpp
M lld/MachO/Arch/ARM64.cpp
M lld/MachO/SyntheticSections.h
Log Message:
-----------
[NFC] Optimize vector usage in lld
By using emplace_back, as well as converting some loops to for-each, we can do more efficient vectorization.
Make copy constructor for TemporaryFile noexcept.
Reviewed By: #lld-macho, int3
Differential Revision: https://reviews.llvm.org/D139552
More information about the All-commits
mailing list