[all-commits] [llvm/llvm-project] 9785eb: [mlir][bufferize] Disallow adding new bufferizable...
Matthias Springer via All-commits
all-commits at lists.llvm.org
Fri May 6 02:42:06 PDT 2022
Author: Matthias Springer <springerm at google.com>
Date: 2022-05-06 (Fri, 06 May 2022)
[mlir][bufferize] Disallow adding new bufferizable ops during bufferization
Ops that are created during the bufferization were not analyzed (when run with One-Shot Bufferize), and users should instead create memref ops directly.
Futhermore, this fixes an issue where an op was erased (and put on the `erasedOps` list), but subsequently a new tensor op was created at the same memory location. This op was then not bufferized. Disallowing the creation of new tensor ops simplifies the bufferization and fixes such issues.
Differential Revision: https://reviews.llvm.org/D125017
More information about the All-commits