aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/LTO/LTO.cpp
diff options
context:
space:
mode:
authorKyungwoo Lee <kyulee@meta.com>2024-10-09 16:01:20 -0700
committerKyungwoo Lee <kyulee@meta.com>2024-10-09 16:09:22 -0700
commite547d041faf455986e511f375f1a3d2bb084ef87 (patch)
tree23cf191a4a8e8c62e83847cd113ac48ba0b1d819 /llvm/lib/LTO/LTO.cpp
parenta7971449e59215fb2fefbfcbd8bd1e7b40d4cd1f (diff)
downloadllvm-e547d041faf455986e511f375f1a3d2bb084ef87.zip
llvm-e547d041faf455986e511f375f1a3d2bb084ef87.tar.gz
llvm-e547d041faf455986e511f375f1a3d2bb084ef87.tar.bz2
Fix build failure for [CGData][ThinLTO] Global Outlining with Two-CodeGen Rounds (#90933)
Diffstat (limited to 'llvm/lib/LTO/LTO.cpp')
-rw-r--r--llvm/lib/LTO/LTO.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/LTO/LTO.cpp b/llvm/lib/LTO/LTO.cpp
index 8e7675f..90c4e2c 100644
--- a/llvm/lib/LTO/LTO.cpp
+++ b/llvm/lib/LTO/LTO.cpp
@@ -2084,7 +2084,7 @@ Error LTO::runThinLTO(AddStreamFn AddStream, FileCache Cache,
LLVM_DEBUG(dbgs() << "[TwoRounds] Running the second round of codegen\n");
auto SecondRoundLTO = std::make_unique<SecondRoundThinBackend>(
Conf, ThinLTO.CombinedIndex, Parallelism, ModuleToDefinedGVSummaries,
- AddStream, Cache, std::move(IR.getResult()), CombinedHash);
+ AddStream, Cache, IR.getResult(), CombinedHash);
return RunBackends(SecondRoundLTO.get());
}