]> granicus.if.org Git - clang/commitdiff
Use the same ABI logic for AArch64 Big Endian as in other places
authorJoerg Sonnenberger <joerg@bec.de>
Mon, 9 Jan 2017 11:40:41 +0000 (11:40 +0000)
committerJoerg Sonnenberger <joerg@bec.de>
Mon, 9 Jan 2017 11:40:41 +0000 (11:40 +0000)
covering polys.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@291437 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaChecking.cpp

index 9c902959233fd0664eb6b5d206684b4eceea7948..49208e20a49d45fd38da53bf630f3a24ae24d280 100644 (file)
@@ -1242,7 +1242,8 @@ bool Sema::CheckNeonBuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall) {
     QualType RHSTy = RHS.get()->getType();
 
     llvm::Triple::ArchType Arch = Context.getTargetInfo().getTriple().getArch();
-    bool IsPolyUnsigned = Arch == llvm::Triple::aarch64;
+    bool IsPolyUnsigned = Arch == llvm::Triple::aarch64 ||
+                          Arch == llvm::Triple::aarch64_be;
     bool IsInt64Long =
         Context.getTargetInfo().getInt64Type() == TargetInfo::SignedLong;
     QualType EltTy =