[llvm] [LoopIdiom] Use HashRecognize to optimize CRC (PR #143208)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 6 23:59:43 PDT 2025
================
@@ -144,6 +145,14 @@ static cl::opt<bool, true>
cl::location(DisableLIRP::Wcslen), cl::init(false),
cl::ReallyHidden);
+bool DisableLIRP::HashRecognize;
+static cl::opt<bool, true> DisableLIRPHashRecognize(
+ "disable-" DEBUG_TYPE "-hashrecognize",
+ cl::desc("Proceed with loop idiom recognize pass, "
+ "enable conversion of loop(s) to wcslen."),
----------------
dtcxzyw wrote:
This line should be updated.
https://github.com/llvm/llvm-project/pull/143208
More information about the llvm-commits
mailing list