From e86d78cf4754a6aef2cf9a33d847aa15338e276f Mon Sep 17 00:00:00 2001 From: Bob Wilson Date: Wed, 10 Nov 2010 21:56:12 +0000 Subject: Add a variant of GCC-style vector types for ARM NEON. NEON vector types need to be mangled in a special way to comply with ARM's ABI, similar to some of the AltiVec-specific vector types. This patch is mostly just renaming a bunch of "AltiVecSpecific" things, since they will no longer be specific to AltiVec. Besides that, it just adds the new "NeonVector" enum. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@118724 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/Mangle.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/CodeGen/Mangle.cpp') diff --git a/lib/CodeGen/Mangle.cpp b/lib/CodeGen/Mangle.cpp index d1e3a98789..9deb021595 100644 --- a/lib/CodeGen/Mangle.cpp +++ b/lib/CodeGen/Mangle.cpp @@ -1411,9 +1411,9 @@ void CXXNameMangler::mangleType(const ComplexType *T) { // ::= p # AltiVec vector pixel void CXXNameMangler::mangleType(const VectorType *T) { Out << "Dv" << T->getNumElements() << '_'; - if (T->getAltiVecSpecific() == VectorType::Pixel) + if (T->getVectorKind() == VectorType::AltiVecPixel) Out << 'p'; - else if (T->getAltiVecSpecific() == VectorType::Bool) + else if (T->getVectorKind() == VectorType::AltiVecBool) Out << 'b'; else mangleType(T->getElementType()); -- cgit v1.2.3-70-g09d2