[SVE] Update INSERT_SUBVECTOR DAGCombine to use getVectorElementCount().
authorCameron McInally <mcinally@cray.com>
Tue, 1 Sep 2020 21:24:53 +0000 (16:24 -0500)
committerCameron McInally <mcinally@cray.com>
Tue, 1 Sep 2020 21:51:44 +0000 (16:51 -0500)
commitcfe2b81710c43e5c227b16c006e40ced82e1d829
tree82086ef19a42979b8a3af034a69e91ae4481f410
parent478eb98cd25cb0ebc01fc2c3889ae94d3f1797d3
[SVE] Update INSERT_SUBVECTOR DAGCombine to use getVectorElementCount().

A small piece of the project to replace getVectorNumElements() with getVectorElementCount().

Differential Revision: https://reviews.llvm.org/D86894
llvm/include/llvm/Support/TypeSize.h
llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp