[all-commits] [llvm/llvm-project] ae0967: [CodeGen][SVE] CopyToReg: Split scalable EVTs that...
sdesmalen-arm via All-commits
all-commits at lists.llvm.org
Mon Jun 8 02:41:09 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: ae09670ee4de461669fc9f09b146ba0a5f0935fb
https://github.com/llvm/llvm-project/commit/ae09670ee4de461669fc9f09b146ba0a5f0935fb
Author: Sander de Smalen <sander.desmalen at arm.com>
Date: 2020-06-08 (Mon, 08 Jun 2020)
Changed paths:
M llvm/lib/CodeGen/TargetLoweringBase.cpp
A llvm/test/CodeGen/AArch64/sve-breakdown-scalable-vectortype.ll
Log Message:
-----------
[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
More information about the All-commits
mailing list