[llvm] [BOLT][AArch64] Support cdsplit for AArch64 (PR #121475)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 23 02:35:42 PST 2025


================
@@ -676,7 +676,7 @@ class BinaryBasicBlock {
 
   bool isWarm() const { return Fragment == FragmentNum::warm(); }
 
-  bool isHot() const { return Fragment == FragmentNum::main(); }
+  bool isMain() const { return Fragment == FragmentNum::main(); }
----------------
liusy58 wrote:

I think main is not equal to `hot`. For a cold function, if it is not split, all the BBs are in the main fragment, which doesn't mean hot.

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


More information about the llvm-commits mailing list