[llvm] [LoopUnroll] Fix assert fail on zeroed branch weights (PR #165938)

Joel E. Denny via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 4 12:00:30 PST 2025


jdenny-ornl wrote:

> After this fix I still get division by zero error (signal, not assert) in `probOfNextInRemainder`. And it seems to be possible for `ProbNotTooMany` to be zero judging by the comments:

Thanks for the report.  Should be fixed by 1aa86ca521b8fea5ff728945d5ea5cdef97a6250.  Would you please try again with the latest main?

https://github.com/llvm/llvm-project/pull/165938


More information about the llvm-commits mailing list