[MLIR] Use memref.copy ops in BufferResultsToOutParams pass.
authorcwz920716 <cwz920716@gmail.com>
Wed, 15 Sep 2021 02:59:18 +0000 (02:59 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Wed, 15 Sep 2021 02:59:30 +0000 (02:59 +0000)
commit500d4c45ba7f31907a64dead8ddb292649e6ce75
tree2cb2b66b039c6306591e001acddfdd3572dcf71d
parent10b069d1a09f3ef145ce468e790243015a7c84ec
[MLIR] Use memref.copy ops in BufferResultsToOutParams pass.

Both copy/alloc ops are using memref dialect after this change.

Reviewed By: silvas, mehdi_amini

Differential Revision: https://reviews.llvm.org/D109480
mlir/include/mlir/Transforms/Passes.td
mlir/lib/Transforms/BufferResultsToOutParams.cpp
mlir/lib/Transforms/CMakeLists.txt
mlir/lib/Transforms/PassDetail.h
mlir/test/Transforms/buffer-results-to-out-params.mlir