[clang] [CIR] Recognize strlen in the IdiomRecognizer pass (PR #210400)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 17 11:48:29 PDT 2026


================
@@ -0,0 +1,172 @@
+// RUN: cir-opt %s --cir-idiom-recognizer -split-input-file | FileCheck %s
+
+// Negative coverage for the strlen recognizer, exercised directly on CIR so
----------------
erichkeane wrote:

This comment adds nothing, please don't put these in, I know your AI will generate these, but they are almost always worthless.

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


More information about the cfe-commits mailing list