[llvm-branch-commits] [llvm] e61a6a2 - Bump MSVC required version to 19.14
Reid Kleckner via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Dec 3 10:14:08 PST 2020
Author: Reid Kleckner
Date: 2020-12-03T10:09:18-08:00
New Revision: e61a6a229a992d291da81ab96299669e8d28d6ad
URL: https://github.com/llvm/llvm-project/commit/e61a6a229a992d291da81ab96299669e8d28d6ad
DIFF: https://github.com/llvm/llvm-project/commit/e61a6a229a992d291da81ab96299669e8d28d6ad.diff
LOG: Bump MSVC required version to 19.14
LLVM passes overaligned objects by value, which MSVC 19.1 didn't support on
x86_32. MSVC added this support somewhere between 19.1 and 19.14, but godbolt
doesn't have 19.11, 19.12, or 19.13 so I can't test before 19.14:
https://gcc.godbolt.org/z/75YoEz
Even if users are using the Visual Studio 2017 series of Visual C++ toolchains,
they should've already updated to 19.14 or newer at this point, or they
wouldn't be able to build LLVM. This just raises the CMake required minimum
version so the build fails earlier.
Differential Revision: https://reviews.llvm.org/D92515
Added:
Modified:
llvm/cmake/modules/CheckCompilerVersion.cmake
Removed:
################################################################################
diff --git a/llvm/cmake/modules/CheckCompilerVersion.cmake b/llvm/cmake/modules/CheckCompilerVersion.cmake
index e54507798b69..375a5265f774 100644
--- a/llvm/cmake/modules/CheckCompilerVersion.cmake
+++ b/llvm/cmake/modules/CheckCompilerVersion.cmake
@@ -12,9 +12,9 @@ set(APPLECLANG_MIN 6.0)
set(APPLECLANG_SOFT_ERROR 6.0)
# https://en.wikipedia.org/wiki/Microsoft_Visual_C#Internal_version_numbering
-# _MSC_VER == 1910 MSVC++ 14.1 (Visual Studio 2017 version 15.0)
-set(MSVC_MIN 19.1)
-set(MSVC_SOFT_ERROR 19.1)
+# _MSC_VER == 1914 MSVC++ 14.14 (Visual Studio 2017 version 15.4)
+set(MSVC_MIN 19.14)
+set(MSVC_SOFT_ERROR 19.14)
# Map the above GCC versions to dates: https://gcc.gnu.org/develop.html#timeline
set(GCC_MIN_DATE 20150422)
More information about the llvm-branch-commits
mailing list