Use the same ABI logic for AArch64 Big Endian as in other places

covering polys.

llvm-svn: 291437
This commit is contained in:
Joerg Sonnenberger 2017-01-09 11:40:41 +00:00
parent 79557db932
commit 47006c5fcd
1 changed files with 2 additions and 1 deletions

View 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 =