[all-commits] [llvm/llvm-project] cb4627: Add setBranchWeigths convenience function. NFC (#7...

Matthias Braun via All-commits all-commits at lists.llvm.org
Thu Nov 16 10:55:32 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cb4627d15027e1ed0051f5e5af447602f0f60971
      https://github.com/llvm/llvm-project/commit/cb4627d15027e1ed0051f5e5af447602f0f60971
  Author: Matthias Braun <matze at braunis.de>
  Date:   2023-11-16 (Thu, 16 Nov 2023)

  Changed paths:
    M llvm/include/llvm/IR/ProfDataUtils.h
    M llvm/lib/IR/ProfDataUtils.cpp
    M llvm/lib/Transforms/IPO/SampleProfile.cpp
    M llvm/lib/Transforms/Instrumentation/ControlHeightReduction.cpp
    M llvm/lib/Transforms/Instrumentation/IndirectCallPromotion.cpp
    M llvm/lib/Transforms/Instrumentation/PGOInstrumentation.cpp
    M llvm/lib/Transforms/Scalar/JumpThreading.cpp
    M llvm/lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
    M llvm/lib/Transforms/Utils/Local.cpp
    M llvm/lib/Transforms/Utils/LoopPeel.cpp
    M llvm/lib/Transforms/Utils/LoopRotationUtils.cpp

  Log Message:
  -----------
  Add setBranchWeigths convenience function. NFC (#72446)

Add `setBranchWeights` convenience function to ProfDataUtils.h and use
it where appropriate.




More information about the All-commits mailing list