[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 15:46:00 PDT 2024


================
@@ -31,10 +31,10 @@ struct FlowBlock {
   uint64_t Flow{0};
   std::vector<FlowJump *> SuccJumps;
   std::vector<FlowJump *> PredJumps;
+  bool HasSuccessors{false};
 
   /// Check if it is the entry block in the function.
   bool isEntry() const { return PredJumps.empty(); }
-
----------------
aaupov wrote:

ditto

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


More information about the llvm-commits mailing list