diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2017-01-09 11:40:41 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2017-01-09 11:40:41 +0000 |
commit | 50b589ac81a3d07e94b379f8023ba6d195939626 (patch) | |
tree | 06c8d140dc7046cd444a40f9ba8e5666edc58e81 | |
parent | cf7bcc3e6b23f8bb26d33bfcb144b8d4e0d67e8b (diff) |
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
-rw-r--r-- | lib/Sema/SemaChecking.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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 = |