[all-commits] [llvm/llvm-project] f9d6f3: [LegacyPM] Remove ControlHeightReductionLegacyPass

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Jul 16 01:36:08 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f9d6f37201eb45a831a99204281f963f2748b786
      https://github.com/llvm/llvm-project/commit/f9d6f37201eb45a831a99204281f963f2748b786
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-07-16 (Sat, 16 Jul 2022)

  Changed paths:
    M llvm/include/llvm/InitializePasses.h
    M llvm/include/llvm/LinkAllPasses.h
    M llvm/include/llvm/Transforms/Utils.h
    M llvm/lib/Transforms/IPO/PassManagerBuilder.cpp
    M llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
    M llvm/lib/Transforms/Instrumentation/Instrumentation.cpp
    M llvm/test/Transforms/PGOProfile/chr.ll

  Log Message:
  -----------
  [LegacyPM] Remove ControlHeightReductionLegacyPass

This pass tries to reduce the number of conditional branches in the hot path
based on profile. It's mostly a no-op after legacy PGO passes are moved.




More information about the All-commits mailing list