Mention that -O4 does result in more optimization when used with
authorDuncan Sands <baldrick@free.fr>
Wed, 30 Nov 2011 08:46:05 +0000 (08:46 +0000)
committerDuncan Sands <baldrick@free.fr>
Wed, 30 Nov 2011 08:46:05 +0000 (08:46 +0000)
-fplugin-arg-dragonegg-enable-gcc-optzns, though it usually isn't
a win.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145486 91177308-0d34-0410-b5e6-96231b3b80d8

docs/ReleaseNotes.html

index 97471586dfb3e9aa937efc1421b11dd4d4c55237..a2b0177dbaee1944cd241f6abf0261d9b54c9b53 100644 (file)
@@ -174,7 +174,9 @@ For more details about the changes to Clang since the 2.9 release, see the
   <li>The <tt>-fplugin-arg-dragonegg-enable-gcc-optzns</tt> option, which runs
       GCC's optimizers as well as LLVM's, now works much better.  This is the
       option to use if you want ultimate performance! It is still experimental
-      though: it may cause the plugin to crash.</li>
+      though: it may cause the plugin to crash.  Setting the optimization level
+      to <tt>-O4</tt> when using this option will optimize even harder, though
+      this usually doesn't result in any improvement over <tt>-O3<tt>.</li>
 
   <li>The type and constant conversion logic has been almost entirely rewritten,
       fixing a multitude of obscure bugs.</li>