This is an archive of the discontinued LLVM Phabricator instance.

[CodeGen] Fix warnings in isPow2VectorType and getPow2VectorType
ClosedPublic

Authored by david-arm on Jun 16 2020, 9:20 AM.

Details

Summary

We should either call getVectorMinNumElements() or
getVectorElementCount().

Diff Detail

Event Timeline

david-arm created this revision.Jun 16 2020, 9:20 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 16 2020, 9:21 AM
c-rhodes accepted this revision.Jun 17 2020, 5:55 AM
This revision is now accepted and ready to land.Jun 17 2020, 5:55 AM
This revision was automatically updated to reflect the committed changes.