diff options
author | MaheshRavishankar <ravishankarm@google.com> | 2021-07-02 10:43:29 -0700 |
---|---|---|
committer | MaheshRavishankar <ravishankarm@google.com> | 2021-07-02 11:16:21 -0700 |
commit | cdf7b661c24d037461492544996925dd5257911b (patch) | |
tree | 7fe330a52e7bc40fecebf6f02cb40d4e10413fb0 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
parent | df88c26f0d6fbe93c5e51ec504cdeb52a03929b9 (diff) | |
download | llvm-cdf7b661c24d037461492544996925dd5257911b.zip llvm-cdf7b661c24d037461492544996925dd5257911b.tar.gz llvm-cdf7b661c24d037461492544996925dd5257911b.tar.bz2 |
[mlir][Linalg] Fix incorrect logic in deciding when to fuse reshapes by linearization.
Fusion by linearization should not happen when
- The reshape is expanding and it is a consumer
- The reshape is collapsing and is a producer.
The bug introduced in this logic by some recent refactoring resulted
in a crash.
To enforce this (negetive) use case, add a test that reproduces the
error and verifies the fix.
Differential Revision: https://reviews.llvm.org/D104970
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions