[llvm-branch-commits] [llvm] ExpandFp: Require RuntimeLibcallsInfo analysis (PR #165197)
Arthur Eubanks via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Oct 31 11:04:18 PDT 2025
aeubanks wrote:
> > if the analysis is primarily intended to be used from function passes, it should be a function analysis, like TLI
>
> Most of the uses will be function passes, but this is fundamentally a module level concept and should be a module analysis
if every function in a module will always have the same set of available libcalls then this way of making it a module analysis is ok at the cost of usability of the module analysis in function passes, but imo this is something that a function cares about, not a module. don't feel too strongly about this though
https://github.com/llvm/llvm-project/pull/165197
More information about the llvm-branch-commits
mailing list