diff options
author | Hanhan Wang <hanchung@google.com> | 2023-05-04 14:31:44 -0700 |
---|---|---|
committer | Hanhan Wang <hanchung@google.com> | 2023-05-08 10:48:26 -0700 |
commit | 25cc5a71b3a2f197fd3c31eeba1eeb1711b93de2 (patch) | |
tree | 4d98891634e4d2731dd39857fcc5c6f5c507d104 /clang/lib/Parse/ParseDecl.cpp | |
parent | 9896d7223386ed539aecc0b7cea888a6421d9026 (diff) | |
download | llvm-25cc5a71b3a2f197fd3c31eeba1eeb1711b93de2.zip llvm-25cc5a71b3a2f197fd3c31eeba1eeb1711b93de2.tar.gz llvm-25cc5a71b3a2f197fd3c31eeba1eeb1711b93de2.tar.bz2 |
[mlir][vector] Generalize vector.transpose lowering to n-D vectors
The existing vector.transpose lowering patterns only triggers if the
input vector is 2D. The revision extends the pattern to handle n-D
vectors which are effectively 2-D vectors (e.g., vector<1x4x1x8x1).
It refactors a common check about 2-D vectors from X86Vector
lowering to VectorUtils.h so it can be reused by both sides.
Reviewed By: dcaballe
Differential Revision: https://reviews.llvm.org/D149908
Diffstat (limited to 'clang/lib/Parse/ParseDecl.cpp')
0 files changed, 0 insertions, 0 deletions