diff options
| author | David Sherwood <david.sherwood@arm.com> | 2021-11-03 17:09:34 +0000 |
|---|---|---|
| committer | David Sherwood <david.sherwood@arm.com> | 2022-01-10 14:12:32 +0000 |
| commit | b0922a9dcd11710562f38cefc51872f835d50b0a (patch) | |
| tree | e32b7a75a91d3f649cc6049935b89f70accfbf11 /lldb/packages/Python/lldbsuite/test/dotest.py | |
| parent | 7b1cb72ad944b460c42adf6df635263064a457f3 (diff) | |
| download | llvm-b0922a9dcd11710562f38cefc51872f835d50b0a.zip llvm-b0922a9dcd11710562f38cefc51872f835d50b0a.tar.gz llvm-b0922a9dcd11710562f38cefc51872f835d50b0a.tar.bz2 | |
[LoopVectorize] Make VPWidenCanonicalIVRecipe::execute work for scalable vectors
The code in VPWidenCanonicalIVRecipe::execute only worked for fixed-width
vectors due to the way we generate the values per lane. This patch changes
the code to use a combination of vector splats and step vectors to get
the same result. This then works for both fixed-width and scalable vectors.
Tests that exercise this code path for scalable vectors have been added here:
Transforms/LoopVectorize/AArch64/sve-tail-folding.ll
Differential Revision: https://reviews.llvm.org/D113180
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dotest.py')
0 files changed, 0 insertions, 0 deletions
