[llvm] [VPlan] Preserve branch weights from VPlan0 through to codegen. (PR #213143)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 8 00:56:47 PDT 2026


https://github.com/fhahn commented:

> Apologies if I'm missing it - which test has the BFI bit? I was assuming some sort of print<block-freq> somewhere in the RUN: list, hence asking.

Ah right, what I added in the previous update was automatic verification against IR BFI (https://github.com/llvm/llvm-project/pull/213143/changes#diff-da321d454a7246f8ae276bf1db2782bf26b5210b8133cb59e4d7fd45d0905decR6545)

I also added a commit with several tests with different control flow which checks BFI and the printed branch probabilities in VPlan, thanks!

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


More information about the llvm-commits mailing list