[llvm-branch-commits] [cfe-branch] r245061 - Add release notes for PGO flag changes.

Diego Novillo via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Aug 14 08:46:59 PDT 2015


Author: dnovillo
Date: Fri Aug 14 10:46:59 2015
New Revision: 245061

URL: http://llvm.org/viewvc/llvm-project?rev=245061&view=rev
Log:
Add release notes for PGO flag changes.

Modified:
    cfe/branches/release_37/docs/ReleaseNotes.rst

Modified: cfe/branches/release_37/docs/ReleaseNotes.rst
URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/docs/ReleaseNotes.rst?rev=245061&r1=245060&r2=245061&view=diff
==============================================================================
--- cfe/branches/release_37/docs/ReleaseNotes.rst (original)
+++ cfe/branches/release_37/docs/ReleaseNotes.rst Fri Aug 14 10:46:59 2015
@@ -136,6 +136,20 @@ OpenCL C Language Changes in Clang
 
 ...
 
+Profile Guided Optimization
+---------------------------
+
+Clang now accepts GCC-compatible flags for profile guided optimization (PGO).
+You can now use ``-fprofile-generate=<dir>``, ``-fprofile-use=<dir>``,
+``-fno-profile-generate`` and ``-fno-profile-use``. These flags have the
+same semantics as their GCC counterparts. However, the generated profile
+is still LLVM-specific. PGO profiles generated with Clang cannot be used
+by GCC and vice-versa.
+
+Clang now emits function entry counts in profile-instrumented binaries.
+This has improved the computation of weights and frequencies in
+profile analysis.
+
 OpenMP Support
 --------------
 OpenMP 3.1 is fully supported, but disabled by default. To enable it, please use




More information about the llvm-branch-commits mailing list