torch-mlir/external
Yi Zhang 486f95e84f Add bufferization pass for TMTensor ops
The pass is mostly borrowed from the BufferizeAnyLinalgOp pass in mlir
upstream with some minor changes. At a high level, it's a naive partial
bufferization pass which allocate new buffers for all the output
tensors. The initial value of an output buffer is copied from the
original buffer if there are uses of the original value.

One difference from linalg bufferization pass is the way to tell if
the loop body uses the init value of output operand. For TMTensor ops,
it differs from op to op because the payload region doesn't represent
the entire loop body.
2022-03-03 11:39:14 -05:00
..
llvm-external-projects/torch-mlir-dialects Add bufferization pass for TMTensor ops 2022-03-03 11:39:14 -05:00
llvm-project@bfc6fbfb65 LLVM bump 2022-02-16 15:28:13 -05:00