[mlir][linalg][bufferize][NFC] Simplify allocateBuffersForResults
authorMatthias Springer <springerm@google.com>
Wed, 13 Oct 2021 00:31:06 +0000 (09:31 +0900)
committerMatthias Springer <springerm@google.com>
Wed, 13 Oct 2021 00:32:05 +0000 (09:32 +0900)
commit0292236d0cc1c50a2fad573d0e584542446a446d
tree2cacf7f9a6492caed159c41a488bbca6c9901dea
parent7c3a8108b303c4154fb958878256f7c4973b238f
[mlir][linalg][bufferize][NFC] Simplify allocateBuffersForResults

Reuse `getResultBuffer`.

Differential Revision: https://reviews.llvm.org/D110941
mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp