https://github.com/aeubanks commented:

if the analysis is primarily intended to be used from function passes, it 
should be a function analysis, like TLI

e.g. 
https://github.com/llvm/llvm-project/blob/22079e3f3698d5c367c7b67f63de8c838791ae76/llvm/tools/opt/NewPMDriver.cpp#L476

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