diff options
| author | Francis Visoiu Mistrih <francisvm@yahoo.com> | 2022-11-28 15:26:54 -0500 |
|---|---|---|
| committer | Francis Visoiu Mistrih <francisvm@apple.com> | 2023-01-11 15:21:59 -0800 |
| commit | da09b35334aba76748a7531d96fd7e5ba1d66669 (patch) | |
| tree | 1574e3556044c87dd699a50eb670f6568be7facf /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | |
| parent | 72bdcee557745252c757f38dfded3e9e6babd810 (diff) | |
| download | llvm-da09b35334aba76748a7531d96fd7e5ba1d66669.zip llvm-da09b35334aba76748a7531d96fd7e5ba1d66669.tar.gz llvm-da09b35334aba76748a7531d96fd7e5ba1d66669.tar.bz2 | |
[Matrix] Optimize matrix transposes around additions
First, sink the transposes to the operands to simplify redudant
ones. Then, lift them to reduce the number of realized transposes.
```
(A + B)^T -> A^T + B^T -> (A + B)^T
```
See tests for more examples.
Differential Revision: https://reviews.llvm.org/D133657
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions
