Performing an atomic load or store of a 64-bit value, using an address outside the default address space, triggers an assertion failure on ARM.
The ARM back-end is missing an address space cast that is required in this situation.
This patch assumes that ARM synchronization semantics are the same irrespective of the address space.
clang-tidy: error: 'this' argument to member function 'castToInt8PtrInDefaultAddressSpace' has type 'const llvm::ARMTargetLowering', but function is not marked const [clang-diagnostic-error]
not useful