[llvm] IPRA: Fixes an IPRA compilation failure. (PR #196928)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 13 12:27:24 PDT 2026


================
@@ -99,6 +99,8 @@ class X86RegisterInfo final : public X86GenRegisterInfo {
   /// getIPRACSRegs - This API can be removed when rbp is safe to optimized out
   /// when IPRA is on.
   const MCPhysReg *getIPRACSRegs(const MachineFunction *MF) const override;
+  ArrayRef<MCPhysReg>
+  getIntraCallClobberedRegs(const MachineFunction *MF) const override;
----------------
arsenm wrote:

I agree the stated purpose sounds like an abuse of this hook 

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


More information about the llvm-commits mailing list