[llvm-branch-commits] [llvm] [Inline][PGO] After inline, update profile for invoke instruction in both cloned instruction in the caller and original callee (PR #83809)

Mingming Liu via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Mar 5 10:41:31 PST 2024


================
@@ -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:

also from https://news.ycombinator.com/item?id=21018901, _Support for asm goto, enabling for example the mainline Linux kernel for x86_64 to build with Clang_

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


More information about the llvm-branch-commits mailing list