diff options
author | Christian Pirker <cpirker@a-bix.com> | 2014-02-25 13:51:00 +0000 |
---|---|---|
committer | Christian Pirker <cpirker@a-bix.com> | 2014-02-25 13:51:00 +0000 |
commit | 9b019ae8992f6cf05a1af22f9e3b091c180df80d (patch) | |
tree | 1b955008e4753a314d2e4097f1b5c0dad211ae44 /clang/lib/AST/ItaniumMangle.cpp | |
parent | e65ceb9f16f87c97a4c0d30ff66e9ae0bb5335e7 (diff) | |
download | bcm5719-llvm-9b019ae8992f6cf05a1af22f9e3b091c180df80d.tar.gz bcm5719-llvm-9b019ae8992f6cf05a1af22f9e3b091c180df80d.zip |
Add AArch64 big endian Target (aarch64_be)
llvm-svn: 202151
Diffstat (limited to 'clang/lib/AST/ItaniumMangle.cpp')
-rw-r--r-- | clang/lib/AST/ItaniumMangle.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/clang/lib/AST/ItaniumMangle.cpp b/clang/lib/AST/ItaniumMangle.cpp index baa3e4940d3..074b950ce9e 100644 --- a/clang/lib/AST/ItaniumMangle.cpp +++ b/clang/lib/AST/ItaniumMangle.cpp @@ -2271,8 +2271,10 @@ void CXXNameMangler::mangleAArch64NeonVectorType(const VectorType *T) { void CXXNameMangler::mangleType(const VectorType *T) { if ((T->getVectorKind() == VectorType::NeonVector || T->getVectorKind() == VectorType::NeonPolyVector)) { - if (getASTContext().getTargetInfo().getTriple().getArch() == - llvm::Triple::aarch64) + llvm::Triple::ArchType Arch = + getASTContext().getTargetInfo().getTriple().getArch(); + if ((Arch == llvm::Triple::aarch64) || + (Arch == llvm::Triple::aarch64_be)) mangleAArch64NeonVectorType(T); else mangleNeonVectorType(T); |