The region of linalg.generic might contain tensor operations. For
example, current lowering of gather uses a tensor.extract in the
body of the LinalgOp. Bufferize the ops within a LinalgOp region
as well to catch such cases.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/lib/Dialect/Linalg/ComprehensiveBufferize/LinalgInterfaceImpl.cpp | ||
---|---|---|
97 | The name of this function is bit unfortunate. Operation::getBlock returns the surrounding block, but this function returns the nested block. |
The name of this function is bit unfortunate. Operation::getBlock returns the surrounding block, but this function returns the nested block.