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

Quentin Colombet via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 17 17:56:47 PDT 2026


================
@@ -396,6 +396,24 @@ const MCPhysReg *X86RegisterInfo::getCalleeSavedRegsViaCopy(
   return nullptr;
 }
 
+ArrayRef<MCPhysReg>
+X86RegisterInfo::getIntraCallClobberedRegs(const MachineFunction *MF) const {
----------------
qcolombet wrote:

Please add a comment that to be compliant with the x86 ABI we have to assume that anytime a x87 register is defined then all of them are.

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


More information about the llvm-commits mailing list