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

via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 14 19:04:27 PDT 2026


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff origin/main HEAD --extensions cpp,h -- llvm/lib/Target/X86/X86RegisterInfo.cpp llvm/lib/Target/X86/X86RegisterInfo.h --diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/lib/Target/X86/X86RegisterInfo.cpp b/llvm/lib/Target/X86/X86RegisterInfo.cpp
index 2db847a12..c15c47ae9 100644
--- a/llvm/lib/Target/X86/X86RegisterInfo.cpp
+++ b/llvm/lib/Target/X86/X86RegisterInfo.cpp
@@ -399,10 +399,9 @@ const MCPhysReg *X86RegisterInfo::getCalleeSavedRegsViaCopy(
 ArrayRef<MCPhysReg>
 X86RegisterInfo::getIntraCallClobberedRegs(const MachineFunction *MF) const {
   static const MCPhysReg X87PhysRegs[] = {
-    X86::FP0, X86::FP1, X86::FP2, X86::FP3, X86::FP4, X86::FP5,
-    X86::FP6, X86::FP7, X86::ST0, X86::ST1, X86::ST2, X86::ST3,
-    X86::ST4, X86::ST5, X86::ST6, X86::ST7
-  };
+      X86::FP0, X86::FP1, X86::FP2, X86::FP3, X86::FP4, X86::FP5,
+      X86::FP6, X86::FP7, X86::ST0, X86::ST1, X86::ST2, X86::ST3,
+      X86::ST4, X86::ST5, X86::ST6, X86::ST7};
 
   const MachineRegisterInfo &MRI = MF->getRegInfo();
   const BitVector &UsedPhysRegsMask = MRI.getUsedPhysRegsMask();

``````````

</details>


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


More information about the llvm-commits mailing list