[llvm] ThinLTO: Add flag to print uselistorder in bitcode writer pass (PR #133230)
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 12 05:59:34 PDT 2025
================
@@ -487,9 +488,9 @@ void splitAndWriteThinLTOBitcode(
// be used in the backends, and use that in the minimized bitcode
// produced for the full link.
ModuleHash ModHash = {{0}};
- W.writeModule(M, /*ShouldPreserveUseListOrder=*/false, &Index,
+ W.writeModule(M, ShouldPreserveUseListOrder, &Index,
/*GenerateHash=*/true, &ModHash);
- W.writeModule(*MergedM, /*ShouldPreserveUseListOrder=*/false, &MergedMIndex);
+ W.writeModule(*MergedM, ShouldPreserveUseListOrder, &MergedMIndex);
----------------
teresajohnson wrote:
Still needs a split bitcode test, see my comment above for an example test that can be modified (split.ll).
https://github.com/llvm/llvm-project/pull/133230
More information about the llvm-commits
mailing list