forked from OSchip/llvm-project
[SVE] Remove VectorType::isScalable()
Summary: * This is a property of the instance of VectorType. If isa<ScalableVectorType>(T) is true, then T->isScalable() would have returned true and vice-versa. Most code that checks this function uses the result to bail out if a vector is a scalable vector. This code will be cleaner if it just calls isa<ScalableVectorType>(T) Reviewers: efriedma, craig.topper, huntergr, sdesmalen Reviewed By: sdesmalen Subscribers: tschuett, rkruppe, psnobl, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D77690
This commit is contained in:
parent
d6c5daf0bf
commit
5d0c3a8026
llvm/include/llvm/IR
|
@ -525,10 +525,6 @@ public:
|
|||
/// number of elements in the vector.
|
||||
ElementCount getElementCount() const { return EC; }
|
||||
|
||||
/// Returns whether or not this is a scalable vector (meaning the total
|
||||
/// element count is a multiple of the minimum).
|
||||
bool isScalable() const { return EC.Scalable; }
|
||||
|
||||
/// Methods for support type inquiry through isa, cast, and dyn_cast.
|
||||
static bool classof(const Type *T) {
|
||||
return T->getTypeID() == FixedVectorTyID ||
|
||||
|
|
Loading…
Reference in New Issue