diff mbox series

[wwwdocs] IPA/LTO/profile-feedback changes

Message ID 20210422222644.GA5803@kam.mff.cuni.cz
State New
Headers show
Series [wwwdocs] IPA/LTO/profile-feedback changes | expand

Commit Message

Jan Hubicka April 22, 2021, 10:26 p.m. UTC
Hi,
this patch adds changesentry for IPA/LTO and FDO.

Honza

Comments

Gerald Pfeifer April 23, 2021, 6:22 a.m. UTC | #1
On Fri, 23 Apr 2021, Jan Hubicka wrote:
> this patch adds changesentry for IPA/LTO and FDO.

Ah, cool!  This looks fine with some minor edits.

> --- a/htdocs/gcc-11/changes.html
> +++ b/htdocs/gcc-11/changes.html
> +    <ul>
> +      <li>New IPA-modref pass was added to track side-effects of function calls
> +          and improve precision of points-to-analysis. Pass can be controlled
> +	  by <code>-fipa-modref</code> attribute.

"A new IPA-modref pass..." or "An IPA-modref pass..."

And simply "side effects" without a dash.

"The pass can be..."   "...by the..."

> +      <li>Identical code folding pass was significantly improved to increase number of
> +	  unified functions and to reduce compile-time memory use.</li>

"The identical code..."

"the number"

> +      <li>IPA-CP heuristics improved its estimation of potential usefulness of
> +          known loop bounds and strides by taking into account the estimated
> +          frequency of these loops. </li>

Here I'd probably say "by taking the ... frequence of these loops into 
account".

> +      <li>LTO bytecode file format was optimized for smaller object files and
> +	  faster streaming.</li>

"The LTO bytecode format..."

Thank you,
Gerald
diff mbox series

Patch

diff --git a/htdocs/gcc-11/changes.html b/htdocs/gcc-11/changes.html
index 6f58cfe8..bba16ead 100644
--- a/htdocs/gcc-11/changes.html
+++ b/htdocs/gcc-11/changes.html
@@ -170,6 +170,37 @@  a work-in-progress.</p>
       use <code>-g</code> together with <code>-gdwarf-2</code>,
       <code>-gdwarf-3</code> or <code>-gdwarf-4</code>.
   </li>
+  <li>
+    Inter-procedural optimization improvements:
+    <ul>
+      <li>New IPA-modref pass was added to track side-effects of function calls
+          and improve precision of points-to-analysis. Pass can be controlled
+	  by <code>-fipa-modref</code> attribute.
+      </li>
+      <li>Identical code folding pass was significantly improved to increase number of
+	  unified functions and to reduce compile-time memory use.</li>
+      <li>IPA-CP heuristics improved its estimation of potential usefulness of
+          known loop bounds and strides by taking into account the estimated
+          frequency of these loops. </li>
+  </li>
+  <li>
+    Link-time optimization improvements:
+    <ul>
+      <li>LTO bytecode file format was optimized for smaller object files and
+	  faster streaming.</li>
+      <li>Memory allocation of the linking stage was improved to reduce peak
+	  memory use.</li>
+    </ul>
+  </li>
+  <li>
+    Profile driven optimization improvements:
+    <ul>
+      <li>
+        Using <a href="https://gcc.gnu.org/onlinedocs/gcc-10.1.0/gcc/Optimize-Options.html#index-fprofile-values"><code>-fprofile-values</code></a>,
+	was improved by tracking more target values for e.g. indirect calls.
+      </li>
+    </ul>
+  </li>
 </ul>
 
 <!-- .................................................................. -->