OSDN Git Service

[SVE] Replace deprecated call in changeVectorElementTypeToInteger
authorAnna Bulanova <anna.bulanova@huawei.com>
Fri, 29 May 2020 17:09:52 +0000 (13:09 -0400)
committerDanilo C. Grael <dancgr@gmail.com>
Fri, 29 May 2020 17:27:28 +0000 (13:27 -0400)
commitb637519eef01d48301620b6537c52ec72978f553
tree57014ec234c6b74f8c9e72c342309400c5c4bdff
parent87e4ad4d5ce1a231fae257faaada8badcfc22d43
[SVE] Replace deprecated call in changeVectorElementTypeToInteger

Summary:
Replace getVectorNumElements with getVectorElementCount;
gets rid of the warnings in several tests

Reviewers: sdesmalen, kmclaughlin, dancgr, efriedma, each, andwar, rengolin

Reviewed By: efriedma

Subscribers: tschuett, rkruppe, psnobl, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D80746
llvm/include/llvm/CodeGen/ValueTypes.h