[llvm] Add a pass to calculate machine function's cfg hash to detect whether… (PR #84145)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 17 23:45:34 PDT 2024
================
@@ -254,6 +254,11 @@ static cl::opt<bool>
GCEmptyBlocks("gc-empty-basic-blocks", cl::init(false), cl::Hidden,
cl::desc("Enable garbage-collecting empty basic blocks"));
+/// Enable calculating machine function's cfg hash.
+static cl::opt<bool> UseMachineFunctionCFGHash(
+ "mf-cfg-hash", cl::init(false), cl::Hidden,
+ cl::desc("Enable calculating machine function's cfg hash."));
----------------
lifengxiang1025 wrote:
Done.
https://github.com/llvm/llvm-project/pull/84145
More information about the llvm-commits
mailing list