diff options
author | Andrzej Warzynski <andrzej.warzynski@arm.com> | 2023-08-15 16:55:17 +0000 |
---|---|---|
committer | Andrzej Warzynski <andrzej.warzynski@arm.com> | 2023-08-22 11:40:46 +0000 |
commit | f9070b2dfbec1a337213a8c8901cb98cd0c09bef (patch) | |
tree | ee8d945bb5b8cd0e05f42a3ba2b1cd4b8615fc50 /llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp | |
parent | 841c4dc7e51e0699a7054c89bd240ba33f7bf15e (diff) | |
download | llvm-f9070b2dfbec1a337213a8c8901cb98cd0c09bef.zip llvm-f9070b2dfbec1a337213a8c8901cb98cd0c09bef.tar.gz llvm-f9070b2dfbec1a337213a8c8901cb98cd0c09bef.tar.bz2 |
[mlir][vector] Enable CastAwayElementwiseLeadingOneDim for scalable vec
This patch effectively enables the CastAwayElementwiseLeadingOneDim
rewrite pattern for scalable vectors. To this end,
`ExtractOp::inferReturnTypes` is updated so that scalable dimensions are
correctly recognised.
The change to ExtractOp will likely make also other conversion patterns
valid for scalable vectors, but this patch focuses on just one case.
Other conversion patterns will be enabled in the forthcoming patches.
Depends on D157993
Differential Revision: https://reviews.llvm.org/D158335
Diffstat (limited to 'llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp')
0 files changed, 0 insertions, 0 deletions