summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/lib/AST/ItaniumMangle.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/AST/ItaniumMangle.cpp b/clang/lib/AST/ItaniumMangle.cpp
index 3d0e7253d76..e94b4cf9073 100644
--- a/clang/lib/AST/ItaniumMangle.cpp
+++ b/clang/lib/AST/ItaniumMangle.cpp
@@ -2235,9 +2235,6 @@ void CXXNameMangler::mangleAArch64NeonVectorType(const VectorType *T) {
assert((BitSize == 64 || BitSize == 128) &&
"Neon vector type not 64 or 128 bits");
- assert(getASTContext().getTypeSize(EltType) != BitSize &&
- "Vector of 1 element not permitted");
-
StringRef EltName;
if (T->getVectorKind() == VectorType::NeonPolyVector) {
switch (cast<BuiltinType>(EltType)->getKind()) {
@@ -2247,6 +2244,9 @@ void CXXNameMangler::mangleAArch64NeonVectorType(const VectorType *T) {
case BuiltinType::UShort:
EltName = "Poly16";
break;
+ case BuiltinType::ULongLong:
+ EltName = "Poly64";
+ break;
default:
llvm_unreachable("unexpected Neon polynomial vector element type");
}
OpenPOWER on IntegriCloud