[clang] [CIR] Rewrite a raised std::find over bytes into memchr (PR #212355)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 13 06:02:45 PDT 2026


================
@@ -1522,11 +1527,12 @@ def CIR_FuncIdentityAttr : CIR_Attr<"FuncIdentity", "func_identity"> {
   }];
 
   let parameters = (ins
-    EnumParameter<CIR_KnownFuncKind>:$kind
+    EnumParameter<CIR_KnownFuncKind>:$kind,
+    DefaultValuedParameter<"bool", "false">:$narrow_char_params
----------------
erichkeane wrote:

This feel REALLY feels like it is a hack here.  How useful is this going ot be to the REST of the func-kinds? We shouldn't really have things here unless they are generally useful.

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


More information about the cfe-commits mailing list