[clang] Replace call to private ctor with ElementCount::getScalable (2/2)
Update the code for D86120 which made the constructors of `ElementCount` private. Apparently I missed another instance in the macro just below.
This commit is contained in:
@@ -3718,7 +3718,7 @@ ASTContext::getBuiltinVectorTypeInfo(const BuiltinType *Ty) const {
|
||||
NUMVECTORS};
|
||||
|
||||
#define SVE_ELTTY(ELTTY, ELTS, NUMVECTORS) \
|
||||
{ELTTY, llvm::ElementCount(ELTS, true), NUMVECTORS};
|
||||
{ELTTY, llvm::ElementCount::getScalable(ELTS), NUMVECTORS};
|
||||
|
||||
switch (Ty->getKind()) {
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user