diff options
author | Sander de Smalen <sander.desmalen@arm.com> | 2020-06-05 18:29:43 +0100 |
---|---|---|
committer | Sander de Smalen <sander.desmalen@arm.com> | 2020-06-08 10:39:18 +0100 |
commit | ae09670ee4de461669fc9f09b146ba0a5f0935fb (patch) | |
tree | 0a1b4cc87961aece7f68e6107d1739ef50c84cae /llvm/lib/Support/VersionTuple.cpp | |
parent | 970bb4a291c0a823786efee7d572a699569ec339 (diff) | |
download | llvm-ae09670ee4de461669fc9f09b146ba0a5f0935fb.zip llvm-ae09670ee4de461669fc9f09b146ba0a5f0935fb.tar.gz llvm-ae09670ee4de461669fc9f09b146ba0a5f0935fb.tar.bz2 |
[CodeGen][SVE] CopyToReg: Split scalable EVTs that are not powers of 2
Scalable vectors cannot use 'BUILD_VECTOR', so it is necessary to
properly split and widen scalable vectors when passing them
to CopyToReg/CopyFromReg.
This functionality is added to TargetLoweringBase::getVectorTypeBreakdown().
This patch only adds support for 'splitting' scalable vectors that
are a multiple of some legal type, e.g.
<vscale x 6 x i64> -> 3 x <vscale x 2 x i64>
Reviewers: efriedma, c-rhodes
Reviewed By: efriedma
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D80139
Diffstat (limited to 'llvm/lib/Support/VersionTuple.cpp')
0 files changed, 0 insertions, 0 deletions