diff options
author | Nicolas Vasilache <ntv@google.com> | 2020-07-10 09:49:22 -0400 |
---|---|---|
committer | Nicolas Vasilache <ntv@google.com> | 2020-07-10 11:09:27 -0400 |
commit | a490d387e6e6085b35a6850581b62db3d2d47009 (patch) | |
tree | 083d976b251c99d2e5923e2bdd0d7742a03303ef /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 9fd4b5faacbdfb887389c9ac246efa23be1cd334 (diff) | |
download | llvm-a490d387e6e6085b35a6850581b62db3d2d47009.zip llvm-a490d387e6e6085b35a6850581b62db3d2d47009.tar.gz llvm-a490d387e6e6085b35a6850581b62db3d2d47009.tar.bz2 |
[mlir][Vector] Add ExtractOp folding when fed by a TransposeOp
TransposeOp are often followed by ExtractOp.
In certain cases however, it is unnecessary (and even detrimental) to lower a TransposeOp to either a flat transpose (llvm.matrix intrinsics) or to unrolled scalar insert / extract chains.
Providing foldings of ExtractOp mitigates some of the unnecessary complexity.
Differential revision: https://reviews.llvm.org/D83487
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions