[PATCH] D80640: [CodeGen][SVE] Calculate correct type legalization for scalable vectors.
Sander de Smalen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 27 09:11:37 PDT 2020
sdesmalen created this revision.
sdesmalen added reviewers: efriedma, david-arm, ctetreau.
Herald added subscribers: psnobl, rkruppe, hiraditya, tschuett.
Herald added a project: LLVM.
sdesmalen added a child revision: D80139: [CodeGen][SVE] CopyToReg: Split scalable EVTs that are not powers of 2.
This patch updates TargetLoweringBase::computeRegisterProperties and
TargetLoweringBase::getTypeConversion to support scalable vectors,
and make the right calls on how to legalise them. These changes are required
to legalise both MVTs and EVTs.
https://reviews.llvm.org/D80640
Files:
llvm/include/llvm/CodeGen/TargetLowering.h
llvm/include/llvm/Support/TypeSize.h
llvm/lib/CodeGen/TargetLoweringBase.cpp
llvm/unittests/CodeGen/AArch64SelectionDAGTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80640.266561.patch
Type: text/x-patch
Size: 9980 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200527/6c390703/attachment-0001.bin>
More information about the llvm-commits
mailing list