[llvm] [BOLT] Introduce profile-use-std-hash (PR #74253)
Maksim Panchenko via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 5 14:26:38 PST 2023
================
@@ -31,6 +31,11 @@ static llvm::cl::opt<bool>
llvm::cl::opt<bool> ProfileUseDFS("profile-use-dfs",
cl::desc("use DFS order for YAML profile"),
cl::Hidden, cl::cat(BoltOptCategory));
+
+llvm::cl::opt<bool>
+ ProfileUseStdHash("profile-use-std-hash",
+ cl::desc("use std::hash for YAML profile"), cl::Hidden,
+ cl::cat(BoltOptCategory));
----------------
maksfb wrote:
If we keep this option, could you move it to `YAMLProfileWriter.cpp` with a description "use ... for writing YAML profile" and make it `ReallyHidden`?
https://github.com/llvm/llvm-project/pull/74253
More information about the llvm-commits
mailing list