diff options
| author | Keshav Vinayak Jha <31160700+keshavvinayak01@users.noreply.github.com> | 2025-10-21 14:09:57 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-21 14:09:57 +0530 |
| commit | 00092f9bdd1d5037a5f4c8f3059e31e32aee6e8d (patch) | |
| tree | 08641753b4686902fc933bcf3621ed5dea1fa856 /lldb/packages/Python/lldbsuite/test/lldbgdbclient.py | |
| parent | f188c97cc193773071b0b61ebf214705fb84189e (diff) | |
| download | llvm-00092f9bdd1d5037a5f4c8f3059e31e32aee6e8d.zip llvm-00092f9bdd1d5037a5f4c8f3059e31e32aee6e8d.tar.gz llvm-00092f9bdd1d5037a5f4c8f3059e31e32aee6e8d.tar.bz2 | |
[MLIR] [Vector] Added canonicalizer for folding from_elements + transpose (#161841)
## Description
Adds a new canonicalizer that folds
`vector.from_elements(vector.transpose))` => `vector.from_elements`.
This canonicalization reorders the input elements for
`vector.from_elements`, adjusts the output shape to match the effect of
the transpose op and eliminating its need.
## Testing
Added a 2D vector lit test that verifies the working of the rewrite.
---------
Signed-off-by: Keshav Vinayak Jha <keshavvinayakjha@gmail.com>
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbgdbclient.py')
0 files changed, 0 insertions, 0 deletions
