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
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to