[llvm] [FuncAttrs] Relax norecurse attribute inference (PR #139943)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 12 08:09:11 PDT 2025


https://github.com/david-arm commented:

The new approach seems reasonable to me. If there are no addresses taken of any function in the entire module, and the only external calls are to well-known library functions it seems safe to mark the function as `norecurse`. But it's probably worth splitting this PR up into two parts. Thanks!

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


More information about the llvm-commits mailing list