HomePhabricator

[NFC][Analysis] Change struct VecDesc to use ElementCount

Authored by david-arm on Feb 2 2021, 8:52 AM.

Description

[NFC][Analysis] Change struct VecDesc to use ElementCount

This patch changes the VecDesc struct to use ElementCount
instead of an unsigned VF value, in preparation for
future work that adds support for vectorized versions of
math functions using scalable vectors. Since all I'm doing
in this patch is switching the type I believe it's a
non-functional change. I changed getWidestVF to now return
both the widest fixed-width and scalable VF values, but
currently the widest scalable value will be zero.

Differential Revision: https://reviews.llvm.org/D96011

Details

Committed
david-armFeb 12 2021, 3:07 AM
Differential Revision
D96011: [NFC][Analysis] Change struct VecDesc to use ElementCount
Parents
rG0b3d31222df9: [ASAN][NFC] Improve language
Branches
Unknown
Tags
Unknown