llvm-project
52cb6e9d - [ProfCheck][NFC] Make Function argument from branch weight setter optional (#166032)

Commit
44 days ago
[ProfCheck][NFC] Make Function argument from branch weight setter optional (#166032) This picks up from #166028, making the `Function` argument optional: most cases don't need to provide it, but in e.g. InstCombine's case, where the instruction (select, branch) is not attached to a function yet, the function needs to be passed explicitly. Co-authored-by: Florian Hahn <flo@fhahn.com>
Author
Parents
Loading