diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2022-01-04 16:52:44 +0100 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2022-01-18 23:44:14 +0100 |
| commit | ff5de8a9e0e5cb7f82b945486b784407f6aab8fe (patch) | |
| tree | 756eb37ba3e597b2fe6ced7bdabb550e4563acb4 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | |
| parent | f100bedb036276f6a1c73b6467fe7585c1b20292 (diff) | |
| download | llvm-ff5de8a9e0e5cb7f82b945486b784407f6aab8fe.zip llvm-ff5de8a9e0e5cb7f82b945486b784407f6aab8fe.tar.gz llvm-ff5de8a9e0e5cb7f82b945486b784407f6aab8fe.tar.bz2 | |
[linalg][fusion] Disallow fusion when it would create an invalid expand_shape
The input type of a linalg.generic can be less dynamic than its output
type. If this is the case moving a reshape across the generic op would
create invalid IR, as expand_shape cannot expand arbitrary dynamic
dimensions.
Check that the reshape is actually valid before creating the
expand_shape. This exposes the existing verification logic in reshape
utils and removes the incomplete custom implementation in fusion.
Differential Revision: https://reviews.llvm.org/D116600
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
0 files changed, 0 insertions, 0 deletions
