[llvm-dev] Longstanding failing tests - clang-tidy, MachO, Polly

Alexandre Ganea via llvm-dev llvm-dev at lists.llvm.org
Thu Jan 23 11:39:18 PST 2020

Would about just disabling optimizations for that function, for the known versions that fail?

#if defined(_MSC_VER) && (_MSC_VER >= 1923) && (_MSC_VER < 1925)
#pragma optimize("", off)

Supposedly this will be fixed in VS2019 16.5 (which corresponds to 1925 above)

-----Message d'origine-----
De : Robinson, Paul <paul.robinson at sony.com> 
Envoyé : January 23, 2020 2:28 PM
À : Reid Kleckner <rnk at google.com>; Alexandre Ganea <alexandre.ganea at ubisoft.com>
Cc : 'llvm-dev at lists.llvm.org' <llvm-dev at lists.llvm.org>
Objet : RE: [llvm-dev] Longstanding failing tests - clang-tidy, MachO, Polly

> It's not clear if we should do anything in LLVM to work around the 
> problem, or if we should just wait for the next release.

Wherever we talk about supported versions, we should say that this specific MSVC is known to have a problem.

More information about the llvm-dev mailing list