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

Usha Gupta via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 15 04:58:54 PDT 2025


usha1830 wrote:

@nikic @david-arm 
Thanks again for your feedback on this earlier.
Since, the changes added in the PR are only applicable post link LTO, I have moved these to a new pass invoked later in the LTO pipeline.
Changes in https://github.com/llvm/llvm-project/pull/158608

The new pass iterates over RefSCCs instead of just SCCs. This is expected to lead to faster inference for modules with multiple SCCs that have indirect calls between them

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


More information about the llvm-commits mailing list