[Mlir-commits] [mlir] [mlir][bufferization] Add `BufferizableOpInterface::hasTensorSemantics` (PR #75273)
Jacques Pienaar
llvmlistbot at llvm.org
Thu Jan 4 12:53:44 PST 2024
================
@@ -458,6 +458,15 @@ LogicalResult mlir::bufferization::bufferizeModuleOp(
foldMemRefCasts(funcOp);
}
+ // Bufferize all other ops.
+ for (Operation &op : moduleOp.getOps()) {
+ // Functions were already bufferized.
+ if (isa<func::FuncOp>(&op))
----------------
jpienaar wrote:
Should this be on function like interface?
https://github.com/llvm/llvm-project/pull/75273
More information about the Mlir-commits
mailing list