Reword comment to be more clear.
authorEric Christopher <echristo@gmail.com>
Sat, 16 Jul 2016 01:55:45 +0000 (01:55 +0000)
committerEric Christopher <echristo@gmail.com>
Sat, 16 Jul 2016 01:55:45 +0000 (01:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@275659 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Passes/PassBuilder.h

index 1723fb7b5f6cd56cd63f09b623ffc09dcd214ca6..9f0a9c6e1380e8634fdfe3a75f20ee646f324208 100644 (file)
@@ -41,8 +41,8 @@ public:
   /// level has a specific goal and rationale.
   enum OptimizationLevel {
     /// Disable as many optimizations as possible. This doesn't completely
-    /// disable the optimizer in many cases as there are correctness issues
-    /// such as always_inline functions.
+    /// disable the optimizer in all cases, for example always_inline functions
+    /// can be required to be inlined for correctness.
     O0,
 
     /// Optimize quickly without destroying debuggability.