[Mlir-commits] [mlir] [mlir][bufferization] Fix OneShotBufferize when `defaultMemorySpaceFn` is used (PR #91524)
Matthias Springer
llvmlistbot at llvm.org
Mon Sep 9 00:21:44 PDT 2024
================
@@ -222,6 +222,13 @@ struct OneShotBufferizePass
[](TensorType t) -> std::optional<Attribute> {
return std::nullopt;
};
+ } else if (useEncodingForMemorySpace) {
----------------
matthias-springer wrote:
Can you emit an error/assertion if both `mustInferMemorySpace` and `useEncodingForMemorySpace` are set?
https://github.com/llvm/llvm-project/pull/91524
More information about the Mlir-commits
mailing list