[llvm] [AArch64] Add zero cycle register move statistics (PR #149033)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 16 01:09:58 PDT 2025


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 HEAD~1 HEAD --extensions cpp -- llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp b/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
index 4082c86cc..9a33784cf 100644
--- a/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
+++ b/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
@@ -5317,7 +5317,7 @@ void AArch64InstrInfo::copyPhysReg(MachineBasicBlock &MBB,
           .addReg(SrcReg)
           .addReg(SrcReg, getKillRegState(KillSrc));
       // if (Subtarget.hasZeroCycleRegMoveFPR128()) { need rebase
-        ++NumZeroCycleRegMoveFPR128;
+      ++NumZeroCycleRegMoveFPR128;
       // }
     } else {
       BuildMI(MBB, I, DL, get(AArch64::STRQpre))

``````````

</details>


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


More information about the llvm-commits mailing list