llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

[mlir][CallGraph] Missed visibility for CallGraphNode to construct AbstractEdge

Open Luhaocong opened this issue 2 years ago • 2 comments

Hi River @River707 @tensorflower-gardener ,In CallGraph Analysis, I find a AbstractEdge will always be added to target CallGraphNode from externalCallerNode, no matter the target is a public or private FunctionOpInterface (which is derived class of CallableOpInterface) .

https://github.com/llvm/llvm-project/blob/c17a914675f8fcadbf0ef440aae7e0ab6c49ec0c/mlir/lib/Analysis/CallGraph.cpp#L125-L131

Is there any plan to add visibility for CallableOpInterface to get better analysis result ?Or could you please give me some advice, I can try to fix this problem?

Luhaocong avatar Nov 08 '24 07:11 Luhaocong

move to https://github.com/llvm/llvm-project/pull/116177

Luhaocong avatar Nov 14 '24 08:11 Luhaocong

Not merged yet.

EugeneZelenko avatar Nov 14 '24 15:11 EugeneZelenko