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

via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 12 13:39:00 PDT 2024


================
@@ -28,6 +28,7 @@ struct FlowBlock {
   uint64_t Weight{0};
   bool HasUnknownWeight{true};
   bool IsUnlikely{false};
+  bool IsExit{false};
----------------
WenleiHe wrote:

This is going to be confusing as we already have `isExit` based on whether there is outgoing edges. What's different for the boolean, and what's our definition of "is exit block"?

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


More information about the llvm-commits mailing list