File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- 7ba6768df8181bc270763333969d4a1d6cc2e160
1+ 36adf8ecedb64047021265a1e1730773d3b3a9e8
Original file line number Diff line number Diff line change @@ -180,8 +180,8 @@ class ModuleAxisInfoAnalysis : public CallGraph<AxisInfoMapT> {
180180 for (auto funcOp : llvm::reverse (sortedFuncs)) {
181181 initialize (funcOp);
182182 funcOp.walk ([&](CallOpInterface callOp) {
183- auto callee =
184- dyn_cast<FunctionOpInterface>( callOp.resolveCallable (&symbolTable));
183+ auto callee = dyn_cast<FunctionOpInterface>(
184+ callOp.resolveCallableInTable (&symbolTable));
185185 update (callOp, callee);
186186 });
187187 }
Original file line number Diff line number Diff line change @@ -316,7 +316,7 @@ template <typename T> class CallGraph {
316316 moduleOp.walk ([&](Operation *op) {
317317 auto caller = op->getParentOfType <FunctionOpInterface>();
318318 if (auto callOp = dyn_cast<CallOpInterface>(op)) {
319- auto *callee = callOp.resolveCallable (&symbolTable);
319+ auto *callee = callOp.resolveCallableInTable (&symbolTable);
320320 auto funcOp = dyn_cast_or_null<FunctionOpInterface>(callee);
321321 if (funcOp) {
322322 graph[caller].emplace_back (
You can’t perform that action at this time.
0 commit comments