[llvm] [BOLT] Provide backwards compatibility for YAML profile with std::hash (PR #74253)

Amir Ayupov via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 7 13:25:18 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));
----------------
aaupov wrote:

Dropped this option.

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


More information about the llvm-commits mailing list