Skip to content

Commit ba45740

Browse files
kyulee-comDanielCChen
authored andcommitted
Fix build failure for [CGData][ThinLTO] Global Outlining with Two-CodeGen Rounds (llvm#90933)
1 parent 9e78653 commit ba45740

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/LTO/LTO.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2084,7 +2084,7 @@ Error LTO::runThinLTO(AddStreamFn AddStream, FileCache Cache,
20842084
LLVM_DEBUG(dbgs() << "[TwoRounds] Running the second round of codegen\n");
20852085
auto SecondRoundLTO = std::make_unique<SecondRoundThinBackend>(
20862086
Conf, ThinLTO.CombinedIndex, Parallelism, ModuleToDefinedGVSummaries,
2087-
AddStream, Cache, std::move(IR.getResult()), CombinedHash);
2087+
AddStream, Cache, IR.getResult(), CombinedHash);
20882088
return RunBackends(SecondRoundLTO.get());
20892089
}
20902090

0 commit comments

Comments
 (0)