diff options
| author | MaheshRavishankar <ravishankarm@google.com> | 2022-01-06 10:31:53 -0800 |
|---|---|---|
| committer | MaheshRavishankar <ravishankarm@google.com> | 2022-01-06 10:32:24 -0800 |
| commit | 4317a3dfad52ee2830d686c6f3a9ef8011f7e6ad (patch) | |
| tree | bcffe73380b2e312adba60eb6d05204c6271f7ad /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.cpp | |
| parent | 0b5340acb758e2d89acf801ebf77106e3a32f03f (diff) | |
[mlir][Linalg] Disable fusion of reshape with elementwise ops for purely dynamic cases.
`tensor.collapse_shape` op when fused with a consumer elementwise
`linalg.generic` operation results in creation of tensor.expand_shape
ops. In purely dynamic cases this can end up with a dynamic dimensions
being expanded to more than one dynamic dimension. This is disallowed
by the semantics of `tensor.expand_shape` operation. (While the
transformation is itself correct, its a gap in the specification of
`tensor.expand_shape` that is the issue). So disallow fusions which
result in such a pattern.
Differential Revision: https://reviews.llvm.org/D116703
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions
