[llvm] [BOLT][NFC] Add sink block to flow CFG in profile inference (PR #95047)

Amir Ayupov via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 10 16:36:40 PDT 2024


================
@@ -640,6 +663,9 @@ void assignProfile(BinaryFunction &BF,
       if (Jump->Flow == 0)
         continue;
 
+      // Skip the artificial sink block
----------------
aaupov wrote:

You're right. Didn't get the full context of this loop. 

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


More information about the llvm-commits mailing list