aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorCullen Rhodes <cullen.rhodes@arm.com>2023-11-15 14:14:33 +0000
committerGitHub <noreply@github.com>2023-11-15 14:14:33 +0000
commitb7b6d54004ef8a89dc3bad411f11a1ef93319a13 (patch)
tree863cb3f42a7f19784f833cc338c654facf445157 /flang/lib/Frontend/CompilerInvocation.cpp
parent33b51588c5d51995909f1f0be0b47b1708dac4fa (diff)
downloadllvm-b7b6d54004ef8a89dc3bad411f11a1ef93319a13.zip
llvm-b7b6d54004ef8a89dc3bad411f11a1ef93319a13.tar.gz
llvm-b7b6d54004ef8a89dc3bad411f11a1ef93319a13.tar.bz2
[mlir][vector] Add vector.transpose with unit-dim to vector.shape_cast pattern (#72105)
This patch extends the vector.transpose lowering to replace: vector.transpose %0, [1, 0] : vector<nx1x<eltty>> to vector<1xnx<eltty>> with: vector.shape_cast %0 : vector<nx1x<eltty>> to vector<1xnx<eltty>> Source with leading unit-dim (inverse) is also replaced. Unit dim must be fixed. Non-unit dim can be scalable. A check is also added to bail out for scalable vectors before unrolling.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions