[llvm] [AggressiveInstCombine] Inline strcmp/strncmp (PR #89371)
Yingwei Zheng via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 19 06:31:35 PDT 2024
================
@@ -922,6 +924,251 @@ static bool foldPatternedLoads(Instruction &I, const DataLayout &DL) {
return true;
}
+static cl::opt<unsigned> StrNCmpInlineThreshold(
+ "strncmp-inline-threshold", cl::init(3), cl::Hidden,
----------------
dtcxzyw wrote:
OK, it is fine to align with GCC.
https://github.com/llvm/llvm-project/pull/89371
More information about the llvm-commits
mailing list