[mlir][linalg][bufferize] Put buffer copying in separate function
authorMatthias Springer <springerm@google.com>
Wed, 13 Oct 2021 00:23:59 +0000 (09:23 +0900)
committerMatthias Springer <springerm@google.com>
Wed, 13 Oct 2021 00:24:56 +0000 (09:24 +0900)
commit7c3a8108b303c4154fb958878256f7c4973b238f
tree96d15cc4353665907479036d44d8a5db8429f697
parentfd3162042022767a9cc8a03e6ccd5fa257fda5d7
[mlir][linalg][bufferize] Put buffer copying in separate function

This is to avoid code duplication.

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