[all-commits] [llvm/llvm-project] bf1b95: [mlir][bufferize] Fix missing copy when bufferizin...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Fri Aug 12 01:50:13 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bf1b9528ff3ba1661ce4fd004ac30200312439fc
https://github.com/llvm/llvm-project/commit/bf1b9528ff3ba1661ce4fd004ac30200312439fc
Author: Matthias Springer <springerm at google.com>
Date: 2022-08-12 (Fri, 12 Aug 2022)
Changed paths:
M mlir/lib/Dialect/Bufferization/Transforms/TensorCopyInsertion.cpp
M mlir/test/Dialect/Linalg/one-shot-bufferize.mlir
M mlir/test/Dialect/SCF/one-shot-bufferize.mlir
Log Message:
-----------
[mlir][bufferize] Fix missing copy when bufferizing loops
Using a loop init_arg inside of the loop is not supported. This change adds a pre-processing pass that resolves such IR with copies.
Differential Revision: https://reviews.llvm.org/D131689
More information about the All-commits
mailing list