[all-commits] [llvm/llvm-project] 236695: [IRLinker] make IRLinker::AddLazyFor optional (llv...
Nick Desaulniers via All-commits
all-commits at lists.llvm.org
Mon Mar 14 14:38:03 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 236695e70c41e3d649b2b8a4a72f58e4218f0aa9
https://github.com/llvm/llvm-project/commit/236695e70c41e3d649b2b8a4a72f58e4218f0aa9
Author: Nick Desaulniers <ndesaulniers at google.com>
Date: 2022-03-14 (Mon, 14 Mar 2022)
Changed paths:
M llvm/include/llvm/Linker/IRMover.h
M llvm/lib/LTO/LTO.cpp
M llvm/lib/Linker/IRMover.cpp
M llvm/lib/Linker/LinkModules.cpp
M llvm/lib/Transforms/IPO/FunctionImport.cpp
Log Message:
-----------
[IRLinker] make IRLinker::AddLazyFor optional (llvm::unique_function). NFC
2 of the 3 callsite of IRMover::move() pass empty lambda functions. Just
make this parameter llvm::unique_function.
Came about via discussion in D120781. Probably worth making this change
regardless of the resolution of D120781.
Reviewed By: dexonsmith
Differential Revision: https://reviews.llvm.org/D121630
More information about the All-commits
mailing list