[mlir][Linalg] Rewrite PadTensorOp to enable its comprehensive bufferization.
Add the rewrite of PadTensorOp to InitTensor + InsertSlice before the bufferization analysis starts. This is exercised via a more advanced integration test. Since the new behavior triggers folding, 2 tests need to be updated. One of those seems to exhibit a folding issue with `switch` and is modified. Differential Revision: https://reviews.llvm.org/D105549
parent
35df2f6f
Please register or sign in to comment