[Mlir-commits] [mlir] [mlir][bufferization] Add `BufferizableOpInterface::hasTensorSemantics` (PR #75273)
Jacques Pienaar
llvmlistbot at llvm.org
Mon Jan 15 08:48:06 PST 2024
================
@@ -989,3 +995,21 @@ bufferization::detail::unknownGetAliasingValues(OpOperand &opOperand) {
r.addAlias({bbArg, BufferRelation::Unknown, /*isDefinite=*/false});
return r;
}
+
+static bool isaTensor(Type t) { return isa<TensorType>(t); }
----------------
jpienaar wrote:
Is this only to pass it in below as function pointer? Could this be a local lambda to emphasize scope there?
https://github.com/llvm/llvm-project/pull/75273
More information about the Mlir-commits
mailing list