[llvm] [opt] Add --save-stats option (PR #167304)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 11 05:44:26 PST 2025


================
@@ -763,3 +788,43 @@ codegen::createTargetMachineForTriple(StringRef TargetTriple,
                                  TargetTriple);
   return std::unique_ptr<TargetMachine>(Target);
 }
+
+int codegen::MaybeEnableStatistics() {
----------------
dtcxzyw wrote:

What is the meaning of the return value?

https://github.com/llvm/llvm-project/pull/167304


More information about the llvm-commits mailing list