From patchwork Thu Apr 22 22:26:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Hubicka X-Patchwork-Id: 1469429 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=gcc-patches-bounces@gcc.gnu.org; receiver=) Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FRBqH1cy4z9sTD for ; Fri, 23 Apr 2021 08:26:50 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5AFAE39D68B9; Thu, 22 Apr 2021 22:26:48 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from nikam.ms.mff.cuni.cz (nikam.ms.mff.cuni.cz [195.113.20.16]) by sourceware.org (Postfix) with ESMTPS id 47A9B385480B for ; Thu, 22 Apr 2021 22:26:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 47A9B385480B Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=ucw.cz Authentication-Results: sourceware.org; spf=none smtp.mailfrom=hubicka@kam.mff.cuni.cz Received: by nikam.ms.mff.cuni.cz (Postfix, from userid 16202) id 6835D280899; Fri, 23 Apr 2021 00:26:44 +0200 (CEST) Date: Fri, 23 Apr 2021 00:26:44 +0200 From: Jan Hubicka To: gcc-patches@gcc.gnu.org, gerald@pfeifer.com Subject: [wwwdocs] IPA/LTO/profile-feedback changes Message-ID: <20210422222644.GA5803@kam.mff.cuni.cz> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-14.3 required=5.0 tests=BAYES_00, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, KAM_SHORT, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces@gcc.gnu.org Sender: "Gcc-patches" Hi, this patch adds changesentry for IPA/LTO and FDO. Honza 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.

use -g together with -gdwarf-2, -gdwarf-3 or -gdwarf-4. +
  • + Inter-procedural optimization improvements: +
      +
    • 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 -fipa-modref attribute. +
    • +
    • Identical code folding pass was significantly improved to increase number of + unified functions and to reduce compile-time memory use.
    • +
    • 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.
    • + +
    • + Link-time optimization improvements: +
        +
      • LTO bytecode file format was optimized for smaller object files and + faster streaming.
      • +
      • Memory allocation of the linking stage was improved to reduce peak + memory use.
      • +
      +
    • +
    • + Profile driven optimization improvements: +
        +
      • + Using -fprofile-values, + was improved by tracking more target values for e.g. indirect calls. +
      • +
      +