[PATCH] D13466: [AArch64] Implement vector splitting on UADDV.
Jun Bum Lim via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 6 09:34:31 PDT 2015
junbuml added a comment.
Thanks Charlie for this patch.
================
Comment at: lib/Target/AArch64/AArch64ISelLowering.cpp:9614
@@ +9613,3 @@
+ uint64_t IdxVal = cast<ConstantSDNode>(Idx)->getZExtValue();
+ Hi = DAG.getNode(ISD::EXTRACT_SUBVECTOR, dl, HiVT, N->getOperand(0),
+ DAG.getConstant(IdxVal + LoVT.getVectorNumElements(), dl,
----------------
Do we need to split into Lo and Hi again here.
Is "std::tie(Lo, Hi) = DAG.SplitVectorOperand(N, 0);" not enough?
http://reviews.llvm.org/D13466
More information about the llvm-commits
mailing list