This is an archive of the discontinued LLVM Phabricator instance.

[SVE] Fixup calls to VectorType::getNumElements in IR
AbandonedPublic

Authored by ctetreau on Apr 15 2020, 1:38 PM.

Details

Reviewers
efriedma
Summary

getNumElements() is going to be moved into FixedVectorType. In
preparation for this, fixup all calls to VectorType::getNumElements.
If getElementCount() can be used with no change in functionality, use
it. Otherwise cast to FixedVectorType and assume that this is correct

Diff Detail

Event Timeline

ctetreau created this revision.Apr 15 2020, 1:38 PM
Herald added a project: Restricted Project. · View Herald Transcript
ctetreau abandoned this revision.Apr 15 2020, 1:41 PM