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

Amir Ayupov via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 13 10:24:33 PDT 2024


================
@@ -57,6 +57,7 @@ struct FlowFunction {
   std::vector<FlowJump> Jumps;
   /// The index of the entry block.
   uint64_t Entry{0};
+  uint64_t Sink{UINT64_MAX};
----------------
aaupov wrote:

Let's also keep track of the Sink block on BOLT's side

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


More information about the llvm-commits mailing list