They may modify thinlto optimization.
This patch only extends support for -mllvm. There is another way to pass llvm flags, -plugin-opt, but its processing is different and will be provided in a subsequent patch.
Paths
| Differential D134013
[lld][thinlto] Include -mllvm options in the thinlto cache key ClosedPublic Authored by mtrofin on Sep 15 2022, 9:08 PM.
Details Summary They may modify thinlto optimization. This patch only extends support for -mllvm. There is another way to pass llvm flags, -plugin-opt, but its processing is different and will be provided in a subsequent patch.
Diff Detail
Event Timeline
mtrofin marked 4 inline comments as done. Comment Actionsfeedback
Comment Actions
Not sure - I'm looking for guidance as to how to approach that. Comment Actions LGTM. I think fixing just ELF is fine, but will be great if you fix COFF/MachO/WebAssembly as well as follow-up patches.
This revision is now accepted and ready to land.Sep 16 2022, 1:01 PM
Comment Actions
ack
Closed by commit rGc625c17b88b4: [lld][thinlto] Include -mllvm options in the thinlto cache key (authored by mtrofin). · Explain WhySep 19 2022, 12:08 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 460820 lld/ELF/Config.h
lld/ELF/Driver.cpp
lld/ELF/LTO.cpp
lld/test/ELF/lto/cache.ll
llvm/include/llvm/LTO/Config.h
llvm/lib/LTO/LTO.cpp
|
emplace_back or push_back