diff --git a/llvm/include/llvm/Support/Compiler.h b/llvm/include/llvm/Support/Compiler.h index 1f230c2c391f..c3c416f7d9ba 100644 --- a/llvm/include/llvm/Support/Compiler.h +++ b/llvm/include/llvm/Support/Compiler.h @@ -399,7 +399,7 @@ // FIXME: Make this conditional on the Clang version once this is fixed in // top-of-tree. #define LLVM_THREAD_LOCAL __thread __attribute__((tls_model("global-dynamic"))) -#elif +#else #define LLVM_THREAD_LOCAL __thread #endif #else // !LLVM_ENABLE_THREADS