[Mlir-commits] [mlir] [MLIR] Make `OneShotModuleBufferize` use `OpInterface` (PR #107295)
Matthias Springer
llvmlistbot at llvm.org
Thu Sep 12 06:50:35 PDT 2024
================
@@ -19,6 +19,7 @@
// tensors annotated with attributes from the `bufferization` dialect. These
// attributes hint the bufferization pass to assume buffers can be directly
// used for these tensors without reshaping.
+module @payload attributes { transform.target_tag = "payload" } {
func.func @conv(
%input: !tinput {bufferization.writable = false,
bufferization.access = "read",
----------------
matthias-springer wrote:
I forgot how exactly `transform.target_tag = "payload"` works. Maybe the transform script is only applied to the contents of the module but not the module itself. Can you try adding a nested `module`?
https://github.com/llvm/llvm-project/pull/107295
More information about the Mlir-commits
mailing list