[all-commits] [llvm/llvm-project] 931228: [PGO] Drive profile validator from opt (#147418)

Mircea Trofin via All-commits all-commits at lists.llvm.org
Sat Jul 26 07:14:21 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 931228e28f55b2652b8a92410170c1fe315d09ab
      https://github.com/llvm/llvm-project/commit/931228e28f55b2652b8a92410170c1fe315d09ab
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2025-07-26 (Sat, 26 Jul 2025)

  Changed paths:
    M llvm/CMakeLists.txt
    M llvm/include/llvm/Config/llvm-config.h.cmake
    M llvm/test/CMakeLists.txt
    M llvm/test/Transforms/PGOProfile/prof-verify.ll
    M llvm/test/lit.site.cfg.py.in
    M llvm/tools/opt/NewPMDriver.cpp
    M llvm/tools/opt/NewPMDriver.h
    M llvm/tools/opt/optdriver.cpp

  Log Message:
  -----------
  [PGO] Drive profile validator from opt (#147418)

Add option to `opt` to run the `ProfileInjectorPass` before the passes opt would run, and then `ProfileVerifierPass` after. This will then be a mode in which we run tests on a specialized buildbot, with the goal of finding passes that drop (and, later, corrupt) profile information.



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