summaryrefslogtreecommitdiff
path: root/mlir/test/lib/Dialect/Bufferization/TestOneShotModuleBufferize.cpp
AgeCommit message (Collapse)Author
2025-10-15[mlir][bufferization] Test tensor encoding -> memref layout conversion (#161166)Andrei Golubev
Support custom types (4/N): test that it is possible to customize memref layout specification for custom operations and function boundaries. This is purely a test setup (no API modifications) to ensure users are able to pass information from tensors to memrefs within bufferization process. To achieve this, a test pass is required (since bufferization options have to be set manually). As there is already a --test-one-shot-module-bufferize pass present, it is extended for the purpose.
2025-07-28[mlir] Generalize OneShotModuleBufferize to operate on any Operation (#148327)Evan Liu
As part of 2646c36a864aa6a62bc1280e9a8cd2bcd2695349, `OneShotModuleBufferize` no longer descends into nested symbol tables, recommending users who wish to do this should do so in a pass pipeline/custom pass. This did not support the use case of ops that weren't ModuleOps. The patch updates `OneShotModuleBufferize` to work on any general op.