Fix build on MIPS. (#3815)
This commit is contained in:
@@ -41,7 +41,7 @@ ALWAYS_INLINE inline bool compareAndSet(volatile T* where, T expectedValue, T ne
|
||||
|
||||
#pragma clang diagnostic push
|
||||
|
||||
#if (KONAN_ANDROID || KONAN_IOS || KONAN_WATCHOS) && (KONAN_ARM32 || KONAN_X86)
|
||||
#if (KONAN_ANDROID || KONAN_IOS || KONAN_WATCHOS || KONAN_LINUX) && (KONAN_ARM32 || KONAN_X86 || KONAN_MIPS32 || KONAN_MIPSEL32)
|
||||
// On 32-bit Android clang generates library calls for "large" atomic operations
|
||||
// and warns about "significant performance penalty". See more details here:
|
||||
// https://github.com/llvm/llvm-project/blob/ce56e1a1cc5714f4af5675dd963cfebed766d9e1/clang/lib/CodeGen/CGAtomic.cpp#L775
|
||||
|
||||
Reference in New Issue
Block a user