[llvm] [VPlan] Use BlockFrequencyInfo in getPredBlockCostDivisor (PR #158690)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 8 23:06:26 PST 2025


lukel97 wrote:

> @lukel97 We are seeing a crash compiling a rocm library with this change.
> 
> Reduced ll and script: [reproducer.zip](https://github.com/user-attachments/files/24044814/reproducer.zip)

Looks like we're truncating a double to unsigned which causes a divide by zero. Will push a fix soon. 

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


More information about the llvm-commits mailing list