[mlir][linalg][bufferize] Avoid creating copies that are never read
authorMatthias Springer <springerm@google.com>
Thu, 21 Oct 2021 12:45:34 +0000 (21:45 +0900)
committerMatthias Springer <springerm@google.com>
Thu, 21 Oct 2021 12:47:00 +0000 (21:47 +0900)
commit7a7e93f1225c21b842171d3463bf2158c681dabf
treefa823ad2303be7f4974a741fa3cf498070898dc4
parentc5501a7a5c582168d1b12335c092bce53b32022d
[mlir][linalg][bufferize] Avoid creating copies that are never read

Differential Revision: https://reviews.llvm.org/D111956
mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
mlir/test/Dialect/Linalg/comprehensive-module-bufferize.mlir