[all-commits] [llvm/llvm-project] d863a0: [SelectionDAG] Implement SplitVecOp_INSERT_SUBVECTOR
Joe Ellis via All-commits
all-commits at lists.llvm.org
Fri Dec 11 03:08:21 PST 2020
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d863a0ddebc889af31b8f729103e9d965a40a495
https://github.com/llvm/llvm-project/commit/d863a0ddebc889af31b8f729103e9d965a40a495
Author: Joe Ellis <joe.ellis at arm.com>
Date: 2020-12-11 (Fri, 11 Dec 2020)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
A llvm/test/CodeGen/AArch64/split-vector-insert.ll
Log Message:
-----------
[SelectionDAG] Implement SplitVecOp_INSERT_SUBVECTOR
This function is needed for when it is necessary to split the subvector
operand of an llvm.experimental.vector.insert call. Splitting the
subvector operand means performing two insertions: one inserting the
lower part of the split subvector into the destination vector, and
another for inserting the upper part.
Through experimenting, it seems quite rare to need split the subvector
operand, but this is necessary to avoid assertion errors.
Differential Revision: https://reviews.llvm.org/D92760
More information about the All-commits
mailing list