From: Joerg Sonnenberger Date: Mon, 9 Jan 2017 11:40:41 +0000 (+0000) Subject: Use the same ABI logic for AArch64 Big Endian as in other places X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=50b589ac81a3d07e94b379f8023ba6d195939626;p=clang Use the same ABI logic for AArch64 Big Endian as in other places covering polys. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@291437 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Sema/SemaChecking.cpp b/lib/Sema/SemaChecking.cpp index 9c90295923..49208e20a4 100644 --- a/lib/Sema/SemaChecking.cpp +++ b/lib/Sema/SemaChecking.cpp @@ -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 =