[all-commits] [llvm/llvm-project] 896037: [LoopRotate] Set loop back edge weight to not less...

Haohai Wen via All-commits all-commits at lists.llvm.org
Thu Mar 28 05:07:37 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 896037c75ace929327e5b0bf5832157f9d81e6e7
      https://github.com/llvm/llvm-project/commit/896037c75ace929327e5b0bf5832157f9d81e6e7
  Author: Haohai Wen <haohai.wen at intel.com>
  Date:   2024-03-28 (Thu, 28 Mar 2024)

  Changed paths:
    M llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
    M llvm/test/Transforms/LoopRotate/update-branch-weights.ll

  Log Message:
  -----------
  [LoopRotate] Set loop back edge weight to not less than exit weight (#86496)

Branch weight from sample-based PGO may be not inaccurate due to
sampling. If the loop body must be executed, then origin loop back
edge weight must be not less than exit weight.



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