[llvm] [BOLT][AArch64] Add minimal support for liveness analysis. (PR #183298)

Alexey Moksyakov via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 27 06:52:51 PST 2026


================
@@ -1254,6 +1268,86 @@ class AArch64MCPlusBuilder : public MCPlusBuilder {
     Regs |= getAliases(AArch64::FP);
   }
 
+  void getDefaultLiveOut(BitVector &Regs) const override {
+    getCalleeSavedRegs(Regs);
----------------
yavtuk wrote:

I think we should remove getCalleeSavedRegs from getDefaultLiveOut
or we need to fix  BitVector getStartingStateAtBB(const BinaryBasicBlock &BB)

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


More information about the llvm-commits mailing list