diff options
author | Eugene Zhulenev <ezhulenev@google.com> | 2021-04-21 15:52:50 -0700 |
---|---|---|
committer | Eugene Zhulenev <ezhulenev@google.com> | 2021-04-21 16:39:06 -0700 |
commit | 3f1e827abd7fb893f7a33f467126d5d736ffa8d4 (patch) | |
tree | a47370eb0ac03c23047a6f48c433f567e3d7ce34 /llvm/lib/CodeGen/MachineFunctionSplitter.cpp | |
parent | ac303795a7862ae0e3b50a5d1a9ff4914a141338 (diff) | |
download | llvm-3f1e827abd7fb893f7a33f467126d5d736ffa8d4.zip llvm-3f1e827abd7fb893f7a33f467126d5d736ffa8d4.tar.gz llvm-3f1e827abd7fb893f7a33f467126d5d736ffa8d4.tar.bz2 |
[mlir] Linalg : do not forward memrefs to outputs when do bufferization
Example:
```
%0 = linalg.init_tensor : tensor<...>
%1 = linalg.generic ... outs(%0: tensor<...>)
%2 = linalg.generic ... outs(%0: tensor<...>)
```
Memref allocated as a result of `init_tensor` bufferization can be incorrectly overwritten by the second linalg.generic operation
Reviewed By: silvas
Differential Revision: https://reviews.llvm.org/D100921
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionSplitter.cpp')
0 files changed, 0 insertions, 0 deletions