We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 411a124 + 6279d2e commit 71cff4fCopy full SHA for 71cff4f
clang/lib/CodeGen/Targets/AArch64.cpp
@@ -662,7 +662,7 @@ bool AArch64ABIInfo::isZeroLengthBitfieldPermittedInHomogeneousAggregate()
662
663
bool AArch64ABIInfo::passAsAggregateType(QualType Ty) const {
664
if (Kind == AArch64ABIKind::AAPCS && Ty->isSVESizelessBuiltinType()) {
665
- const auto *BT = Ty->getAs<BuiltinType>();
+ const auto *BT = Ty->castAs<BuiltinType>();
666
return !BT->isSVECount() &&
667
getContext().getBuiltinVectorTypeInfo(BT).NumVectors > 1;
668
}
0 commit comments