We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e74e7bd commit c6ed568Copy full SHA for c6ed568
mlir/lib/Dialect/Bufferization/Transforms/OneShotModuleBufferize.cpp
@@ -285,12 +285,8 @@ static void removeBufferizationAttributes(BlockArgument bbArg) {
285
static func::FuncOp
286
getCalledFunction(func::CallOp callOp,
287
mlir::SymbolTableCollection &symbolTable) {
288
- SymbolRefAttr sym =
289
- llvm::dyn_cast_if_present<SymbolRefAttr>(callOp.getCallableForCallee());
290
- if (!sym)
291
- return nullptr;
292
return dyn_cast_or_null<func::FuncOp>(
293
- symbolTable.lookupNearestSymbolFrom(callOp, sym));
+ callOp.resolveCallableInTable(&symbolTable));
294
}
295
296
/// Return "true" if the given function signature has tensor semantics.
0 commit comments