[llvm] [llvm] Improve implementation of StringRef::find_last_of and cie (PR #71865)
    Mehdi Amini via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Nov 15 11:19:38 PST 2023
    
    
  
================
@@ -268,17 +272,44 @@ StringRef::size_type StringRef::find_first_not_of(StringRef Chars,
   return npos;
 }
 
+#ifdef __SSE2__
+
+StringRef::size_type vectorized_find_last_of_specialized(const char *Data,
+                                                         size_t Sz, char C0,
----------------
joker-eph wrote:
```suggestion
static StringRef::size_type vectorized_find_last_of_specialized(const char *Data,
                                                         size_t Sz, char C0,
```
https://github.com/llvm/llvm-project/pull/71865
    
    
More information about the llvm-commits
mailing list