It's unfortunate that this requires adding a dependency on scf dialect
to std bufferization (and hence all of std transforms). This is a bit
perilous. We might want a lib/Transforms/Bufferize/ with a separate
bufferization library per dialect?
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Regarding the dependency: Is bufferize special enough to require its own directory or is this just a symptom of the too coarse modelling of transform dependencies in general?
mlir/lib/Dialect/StandardOps/Transforms/Bufferize.cpp | ||
---|---|---|
58 | The DynamicTensorFromElementsOp does not have a guaranteed iteration order, it is conceptually a map over the index space. |
Comment Actions
Regarding the dependency: Is bufferize special enough to require its own directory or is this just a symptom of the too coarse modelling of transform dependencies in general?
Good point. I think it's the too coarse modeling of dialect transforms.
mlir/lib/Dialect/StandardOps/Transforms/Bufferize.cpp | ||
---|---|---|
58 | Updated the op description as well. |
The DynamicTensorFromElementsOp does not have a guaranteed iteration order, it is conceptually a map over the index space.