[llvm] [ProfCheck] Remove Function argument from branch weight setter (NFC). (PR #166028)

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 1 17:55:30 PDT 2025


mtrofin wrote:

> Unfortunately looks like this doesn't work for InstCombine

We could make `F` a pointer, move it as the 3rd arg, and have it have a default value. I'll prep a patch.

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


More information about the llvm-commits mailing list