[llvm] Move the preserve-{bc,ll}-uselistorder options out of individual tools, make them global defaults for AsmWriter and BitcodeWriter (PR #160079)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 22 05:38:20 PDT 2025
================
@@ -118,6 +118,11 @@ static cl::opt<bool>
#endif
cl::desc(""));
+static cl::opt<bool> PreserveBitcodeUseListOrder(
+ "preserve-bc-uselistorder",
+ cl::desc("Preserve use-list order when writing LLVM bitcode."),
+ cl::init(false), cl::Hidden);
----------------
nikic wrote:
Should this be true? Looks like all the old options defaulted the bitcode case to true.
https://github.com/llvm/llvm-project/pull/160079
More information about the llvm-commits
mailing list