diff options
author | Nicolas Vasilache <nicolas.vasilache@gmail.com> | 2021-11-02 21:59:55 +0000 |
---|---|---|
committer | Nicolas Vasilache <nicolas.vasilache@gmail.com> | 2021-11-02 22:12:46 +0000 |
commit | 885072820c4ededc5ffa570ba8fd89b001fb9f11 (patch) | |
tree | 8884af8636c4e2cdfbf8d46273b97309bae5a9e5 /llvm/lib/Transforms/Utils/InlineFunction.cpp | |
parent | c964afb2c8b540a8579c18d3a05379ceee704844 (diff) | |
download | llvm-885072820c4ededc5ffa570ba8fd89b001fb9f11.zip llvm-885072820c4ededc5ffa570ba8fd89b001fb9f11.tar.gz llvm-885072820c4ededc5ffa570ba8fd89b001fb9f11.tar.bz2 |
[mlir][Vector] Add a pattern to lower 2-D vector.transpose to shape_cast+shuffle.
The 2-D case can be rewritten to generate quite fewer instructions and a single vector.shuffle which seems to provide a nice performance boost.
Add this arrow to our quiver by exposing it with a new vector transform option.
Differential Revision: https://reviews.llvm.org/D113062
Diffstat (limited to 'llvm/lib/Transforms/Utils/InlineFunction.cpp')
0 files changed, 0 insertions, 0 deletions