Skip to content

Commit 5335b7d

Browse files
committed
enable strlen insert
1 parent af63aa7 commit 5335b7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1499,7 +1499,7 @@ bool LoopIdiomRecognize::runOnNoncountableLoop() {
14991499

15001500
return recognizePopcount() || recognizeAndInsertFFS() ||
15011501
recognizeShiftUntilBitTest() || recognizeShiftUntilZero() ||
1502-
recognizeShiftUntilLessThan();
1502+
recognizeShiftUntilLessThan() || recognizeAndInsertStrLen();
15031503
}
15041504

15051505
/// Check if the given conditional branch is based on the comparison between

0 commit comments

Comments
 (0)