[llvm] [AMDGPU] Unpack V_PK_MOV_B32 for MFMA co-issue (PR #211937)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 25 08:00:20 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 -- llvm/lib/Target/AMDGPU/SIPreEmitPeephole.cpp --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/AMDGPU/SIPreEmitPeephole.cpp b/llvm/lib/Target/AMDGPU/SIPreEmitPeephole.cpp
index 6386d712b..e451494b0 100644
--- a/llvm/lib/Target/AMDGPU/SIPreEmitPeephole.cpp
+++ b/llvm/lib/Target/AMDGPU/SIPreEmitPeephole.cpp
@@ -20,10 +20,10 @@
#include "AMDGPU.h"
#include "GCNSubtarget.h"
-#include "llvm/ADT/Statistic.h"
#include "MCTargetDesc/AMDGPUMCTargetDesc.h"
#include "SIDefines.h"
#include "llvm/ADT/SetVector.h"
+#include "llvm/ADT/Statistic.h"
#include "llvm/CodeGen/MachineDominators.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
@@ -602,7 +602,7 @@ bool SIPreEmitPeephole::removeRedundantModeWrites(
}
bool SIPreEmitPeephole::canUnpackPkMov(const MachineInstr &MI,
- bool &HighFirst) const {
+ bool &HighFirst) const {
Register Dst = MI.getOperand(0).getReg();
Register LoDst = TRI->getSubReg(Dst, AMDGPU::sub0);
Register HiDst = TRI->getSubReg(Dst, AMDGPU::sub1);
``````````
</details>
https://github.com/llvm/llvm-project/pull/211937
More information about the llvm-commits
mailing list