diff options
| author | Spenser Bauman <sbauman@mathworks.com> | 2023-05-02 08:17:45 -0700 |
|---|---|---|
| committer | Jacques Pienaar <jpienaar@google.com> | 2023-05-02 08:18:35 -0700 |
| commit | 19109a274e67f8f6a30a0da22b2135daa327bb79 (patch) | |
| tree | 164a4d30a961499c01ca5de212fb4d61514b8de6 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 631bfdbee5b45eda9f99dff6a716d63c5698e4bd (diff) | |
[mlir][tosa] Fix crash when inferring shape of tosa.equal
The tosa-infer-shapes pass crashes when trying to infer the output shape
of tosa.equal when the input shape is unranked.
This is due to tosa-infer-shapes requiring at least information on the
base type of the resulting operation from inferReturnTypeComponents.
This change enhances EqualOp::inferReturnTypeComponents to always supply
the inferred elementType.
Reviewed By: eric-k256
Differential Revision: https://reviews.llvm.org/D149582
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
