aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Tooling/Syntax/BuildTree.cpp
diff options
context:
space:
mode:
authorNicolas Vasilache <nicolas.vasilache@gmail.com>2020-11-05 08:17:15 +0000
committerNicolas Vasilache <nicolas.vasilache@gmail.com>2020-11-05 09:00:28 +0000
commitecca7852d9d75aba859a3d8d001bfb2dda1345db (patch)
treed867df056c6e40c331165e2f06f28b27496c23b6 /clang/lib/Tooling/Syntax/BuildTree.cpp
parentcc2a2bb5ce5164590c85ecc099804407f344fceb (diff)
downloadllvm-ecca7852d9d75aba859a3d8d001bfb2dda1345db.zip
llvm-ecca7852d9d75aba859a3d8d001bfb2dda1345db.tar.gz
llvm-ecca7852d9d75aba859a3d8d001bfb2dda1345db.tar.bz2
[mlir][Linalg] Side effects interface for Linalg ops
The LinalgDependenceGraph and alias analysis provide the necessary analysis for the Linalg fusion on buffers case. However this is not enough for linalg on tensors which require proper memory effects to play nicely with DCE and other transformations. This revision adds side effects to Linalg ops that were previously missing and has 2 consequences: 1. one example in the copy removal pass now fails since the linalg.generic op has side effects and the pass does not perform alias analysis / distinguish between reads and writes. 2. a few examples in fusion-tensor.mlir need to return the resulting tensor otherwise DCE automatically kicks in as part of greedy pattern application. Differential Revision: https://reviews.llvm.org/D90762
Diffstat (limited to 'clang/lib/Tooling/Syntax/BuildTree.cpp')
0 files changed, 0 insertions, 0 deletions