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

Maksim Panchenko via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 10 22:35:01 PDT 2024


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

Nit: add a description and initialize to `uint64_t` max value to indicate that a proper initialization will happen later.

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


More information about the llvm-commits mailing list