// Always treat non-scalable MVTs as smaller than scalable MVTs for the
// purposes of ordering.
auto ASize = std::make_tuple(A.isScalableVector(), A.getScalarSizeInBits(),
- A.getSizeInBits().getKnownMinSize());
+ A.getSizeInBits().getKnownMinValue());
auto BSize = std::make_tuple(B.isScalableVector(), B.getScalarSizeInBits(),
- B.getSizeInBits().getKnownMinSize());
+ B.getSizeInBits().getKnownMinValue());
return ASize < BSize;
};
auto SameKindLE = [](MVT A, MVT B) -> bool {
return false;
return std::make_tuple(A.getScalarSizeInBits(),
- A.getSizeInBits().getKnownMinSize()) <=
+ A.getSizeInBits().getKnownMinValue()) <=
std::make_tuple(B.getScalarSizeInBits(),
- B.getSizeInBits().getKnownMinSize());
+ B.getSizeInBits().getKnownMinValue());
};
for (unsigned M : Modes) {
"Unexpected mismatch of scalable property");
return Ty.isVector()
? std::make_tuple(Ty.isScalable(),
- Ty.getSizeInBits().getKnownMinSize()) <
- std::make_tuple(Other.Ty.isScalable(),
- Other.Ty.getSizeInBits().getKnownMinSize())
+ Ty.getSizeInBits().getKnownMinValue()) <
+ std::make_tuple(
+ Other.Ty.isScalable(),
+ Other.Ty.getSizeInBits().getKnownMinValue())
: Ty.getSizeInBits().getFixedSize() <
Other.Ty.getSizeInBits().getFixedSize();
}