diff --git a/llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp b/llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp --- a/llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp +++ b/llvm/lib/Target/Hexagon/HexagonVectorCombine.cpp @@ -299,8 +299,8 @@ return getIfUnordered(dyn_cast(In)); } -#if !defined(_MSC_VER) || _MSC_VER >= 1924 -// VS2017 has trouble compiling this: +#if !defined(_MSC_VER) || _MSC_VER >= 1926 +// VS2019 has trouble compiling this: // error C2976: 'std::map': too few template arguments template void erase_if(std::map &map, Pred p)