[all-commits] [llvm/llvm-project] 7fca1f: [Clang][CMake] Use IRPGO instead of FE PGO for Cma...

Aiden Grossman via All-commits all-commits at lists.llvm.org
Fri Aug 29 10:06:48 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7fca1f841b4c226d50ab7bad64de5db225d4193b
      https://github.com/llvm/llvm-project/commit/7fca1f841b4c226d50ab7bad64de5db225d4193b
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2025-08-29 (Fri, 29 Aug 2025)

  Changed paths:
    M clang/cmake/caches/PGO.cmake

  Log Message:
  -----------
  [Clang][CMake] Use IRPGO instead of FE PGO for Cmake Caches (#155957)

Currently the clang CMake caches use FE PGO for instrumentation
(LLVM_BUILD_INSTRUMENTED=ON). However, IRPGO is generally regarded as
better for performance. I am measuring about a 1.5% performance gain
when building libLLVMSupport.a using this configuration versus what
existed before this commit. I would suspect the gains are larger on
other platforms like Windows where we cannot subsume any gains using
PLO.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list