diff options
author | MaheshRavishankar <ravishankarm@google.com> | 2021-05-18 22:08:12 -0700 |
---|---|---|
committer | MaheshRavishankar <ravishankarm@google.com> | 2021-05-18 22:31:42 -0700 |
commit | e2b365948b363636624d5c8cf631f075b19351aa (patch) | |
tree | 369c3144f56d58fcd51062833507cdb1a4eb227e /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 0c509dbc7e29cbd03f161513b8d335f768c7cc2b (diff) | |
download | llvm-e2b365948b363636624d5c8cf631f075b19351aa.zip llvm-e2b365948b363636624d5c8cf631f075b19351aa.tar.gz llvm-e2b365948b363636624d5c8cf631f075b19351aa.tar.bz2 |
[mlir][Linalg] Break unnecessary dependency through unused `outs` tensor.
LinalgOps that are all parallel do not use the value of `outs`
tensor. The semantics is that the `outs` tensor is fully
overwritten. Using anything other than `init_tensor` can add false
dependencies between operations, when the use is just for the shape of
the tensor. Adding a canonicalization to always use `init_tensor` in
such cases, breaks this dependence.
Differential Revision: https://reviews.llvm.org/D102561
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions