[PATCH] D87475: Use pragmas to work around MSVC x86_32 debug miscompile bug

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 10 15:52:53 PDT 2020


craig.topper added inline comments.


================
Comment at: llvm/lib/CodeGen/GlobalISel/LegalityPredicates.cpp:13
 
+// Disable optimizations to work around MSVC debug mode bug in 32-bit:
+// https://developercommunity.visualstudio.com/content/problem/1179643/msvc-copies-overaligned-non-trivially-copyable-par.html
----------------
This comment says "Disable optimizations", but the one below says "We have to disable runtime checks in order to enable optimizations". Are we enabling or disabling optimizations?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87475/new/

https://reviews.llvm.org/D87475



More information about the llvm-commits mailing list