[llvm] [Transforms] LoopIdiomRecognize recognize strlen and wcslen (PR #108985)
    Jacek Caban via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Mar 24 02:14:20 PDT 2025
    
    
  
cjacek wrote:
> Indeed, this is a recurring problem when implementing many standard C functions. Wine does actually build some source files with -fno-builtin, exactly for this reason - https://github.com/wine-mirror/wine/blob/wine-10.4/tools/makedep.c#L3287-L3294. But this file lies outside of what those patterns cover.
Yes, I agree, we should extend `-fno-builtin` use in Wine to cover that.
https://github.com/llvm/llvm-project/pull/108985
    
    
More information about the llvm-commits
mailing list