aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorKeshav Vinayak Jha <31160700+keshavvinayak01@users.noreply.github.com>2025-10-21 14:09:57 +0530
committerGitHub <noreply@github.com>2025-10-21 14:09:57 +0530
commit00092f9bdd1d5037a5f4c8f3059e31e32aee6e8d (patch)
tree08641753b4686902fc933bcf3621ed5dea1fa856 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parentf188c97cc193773071b0b61ebf214705fb84189e (diff)
downloadllvm-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 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions