================ @@ -918,6 +918,18 @@ LandingPadInst *InvokeInst::getLandingPadInst() const { return cast<LandingPadInst>(getUnwindDest()->getFirstNonPHI()); } +void InvokeInst::updateProfWeight(uint64_t S, uint64_t T) { ---------------- minglotus-6 wrote:
> Is there a reason why branch weight !prof cannot be attached to callbr? nvm seems doc is just stale according to IR verifier [code](https://github.com/llvm/llvm-project/blob/083d8aa03aca55b88098a91e41e41a8e321a5721/llvm/lib/IR/Verifier.cpp#L4758-L4759) https://github.com/llvm/llvm-project/pull/83809 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits