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.
1 parent ddef380 commit 6279d2eCopy full SHA for 6279d2e
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