llvm-project/mlir/tools
Nicolas Vasilache ecca7852d9 [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
2020-11-05 09:00:28 +00:00
..
mlir-cpu-runner [mlir] JitRunner: add a config option to register symbols with ExecutionEngine at runtime 2020-10-27 15:57:34 -07:00
mlir-cuda-runner [mlir][gpu] Fix leaked stream and module when lowering gpu.launch_func to runtime calls. 2020-10-29 08:40:51 +01:00
mlir-linalg-ods-gen [mlir][Linalg] Side effects interface for Linalg ops 2020-11-05 09:00:28 +00:00
mlir-opt [mlir][Bufferize] Rename TestBufferPlacement to TestFinalizingBufferize 2020-11-02 12:42:32 -08:00
mlir-reduce [mlir] NFC: fix trivial typos 2020-10-29 04:05:22 +09:00
mlir-rocm-runner [mlir][gpu] Fix leaked stream and module when lowering gpu.launch_func to runtime calls. 2020-10-29 08:40:51 +01:00
mlir-shlib [MLIR] Reapply: Adjust libMLIR building to more closely follow libClang 2020-05-04 20:47:57 -07:00
mlir-spirv-cpu-runner [mlir] Fix stack-use-after-scope in cuda/vulkan cpu runners 2020-10-27 17:26:08 -07:00
mlir-tblgen Add facilities to print/parse a pass pipeline through the C API 2020-11-04 17:29:49 +00:00
mlir-translate Revert "[RFC] Factor out repetitive cmake patterns for llvm-style projects" 2020-10-04 15:17:34 -07:00
mlir-vulkan-runner [mlir] Fix stack-use-after-scope in cuda/vulkan cpu runners 2020-10-27 17:26:08 -07:00
CMakeLists.txt [MLIR][mlir-spirv-cpu-runner] A SPIR-V cpu runner prototype 2020-10-26 09:09:29 -04:00