[clang] Replace call to private ctor with ElementCount::getScalable

Update the code for D86120 which made the constructors of `ElementCount`
private.
This commit is contained in:
Jonas Devlieghere 2020-08-19 09:34:57 -07:00
parent 264afb9e6a
commit fc53bd610f
1 changed files with 1 additions and 1 deletions

View File

@ -3714,7 +3714,7 @@ QualType ASTContext::getIncompleteArrayType(QualType elementType,
ASTContext::BuiltinVectorTypeInfo
ASTContext::getBuiltinVectorTypeInfo(const BuiltinType *Ty) const {
#define SVE_INT_ELTTY(BITS, ELTS, SIGNED, NUMVECTORS) \
{getIntTypeForBitwidth(BITS, SIGNED), llvm::ElementCount(ELTS, true), \
{getIntTypeForBitwidth(BITS, SIGNED), llvm::ElementCount::getScalable(ELTS), \
NUMVECTORS};
#define SVE_ELTTY(ELTTY, ELTS, NUMVECTORS) \