[all-commits] [llvm/llvm-project] bb9bd5: [LoopUnroll] Fix assert fail on zeroed branch weig...

Joel E. Denny via All-commits all-commits at lists.llvm.org
Mon Nov 3 07:19:34 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bb9bd5f263226840194b28457ddf9861986db51f
      https://github.com/llvm/llvm-project/commit/bb9bd5f263226840194b28457ddf9861986db51f
  Author: Joel E. Denny <jdenny.ornl at gmail.com>
  Date:   2025-11-03 (Mon, 03 Nov 2025)

  Changed paths:
    M llvm/lib/Transforms/Utils/LoopUtils.cpp
    A llvm/test/Transforms/LoopUnroll/zeroed-branch-weights.ll

  Log Message:
  -----------
  [LoopUnroll] Fix assert fail on zeroed branch weights (#165938)

BranchProbability fails an assert when its denominator is zero.

Reported at
<https://github.com/llvm/llvm-project/pull/159163#pullrequestreview-3406318423>.



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