diff options
| author | Bob Wilson <bob.wilson@apple.com> | 2010-11-10 21:56:12 +0000 |
|---|---|---|
| committer | Bob Wilson <bob.wilson@apple.com> | 2010-11-10 21:56:12 +0000 |
| commit | aeb56444f9b551ca34e68181844a64c04ebcc8b3 (patch) | |
| tree | ae4c32a7b8099bb4ece1d194a94a0a031672df4e /clang/lib/AST/ASTImporter.cpp | |
| parent | 1d760ce8b3a095f61792484ed7ff566c36f73e2b (diff) | |
| download | bcm5719-llvm-aeb56444f9b551ca34e68181844a64c04ebcc8b3.tar.gz bcm5719-llvm-aeb56444f9b551ca34e68181844a64c04ebcc8b3.zip | |
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.
llvm-svn: 118724
Diffstat (limited to 'clang/lib/AST/ASTImporter.cpp')
| -rw-r--r-- | clang/lib/AST/ASTImporter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/AST/ASTImporter.cpp b/clang/lib/AST/ASTImporter.cpp index 7747e617e3a..159a2695348 100644 --- a/clang/lib/AST/ASTImporter.cpp +++ b/clang/lib/AST/ASTImporter.cpp @@ -441,7 +441,7 @@ static bool IsStructurallyEquivalent(StructuralEquivalenceContext &Context, return false; if (Vec1->getNumElements() != Vec2->getNumElements()) return false; - if (Vec1->getAltiVecSpecific() != Vec2->getAltiVecSpecific()) + if (Vec1->getVectorKind() != Vec2->getVectorKind()) return false; break; } @@ -1190,7 +1190,7 @@ QualType ASTNodeImporter::VisitVectorType(VectorType *T) { return Importer.getToContext().getVectorType(ToElementType, T->getNumElements(), - T->getAltiVecSpecific()); + T->getVectorKind()); } QualType ASTNodeImporter::VisitExtVectorType(ExtVectorType *T) { |

