[llvm] 2c73bef - Fix wrong comment about enabling optimizations to work around a bug

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 10 16:52:12 PDT 2020


Author: Reid Kleckner
Date: 2020-09-10T16:45:20-07:00
New Revision: 2c73bef7fad4bb92213c9e8ace7d98a231efe027

URL: https://github.com/llvm/llvm-project/commit/2c73bef7fad4bb92213c9e8ace7d98a231efe027
DIFF: https://github.com/llvm/llvm-project/commit/2c73bef7fad4bb92213c9e8ace7d98a231efe027.diff

LOG: Fix wrong comment about enabling optimizations to work around a bug

Added: 
    

Modified: 
    llvm/lib/CodeGen/GlobalISel/LegalityPredicates.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/CodeGen/GlobalISel/LegalityPredicates.cpp b/llvm/lib/CodeGen/GlobalISel/LegalityPredicates.cpp
index e25705e0e101..9ca6d9a9a551 100644
--- a/llvm/lib/CodeGen/GlobalISel/LegalityPredicates.cpp
+++ b/llvm/lib/CodeGen/GlobalISel/LegalityPredicates.cpp
@@ -10,7 +10,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-// Disable optimizations to work around MSVC debug mode bug in 32-bit:
+// Enable 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
 // FIXME: Remove this when the issue is closed.
 #if defined(_MSC_VER) && !defined(__clang__) && defined(_M_IX86)


        


More information about the llvm-commits mailing list