[llvm] check t16 in dpp inst creator (PR #128918)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 26 09:31:30 PST 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 a955426a16bcbb9bf05eb0e3894663dff4983b00 3ad31534132fcf4a967ba094145a5e87327c0fc6 --extensions cpp -- llvm/lib/Target/AMDGPU/GCNDPPCombine.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/AMDGPU/GCNDPPCombine.cpp b/llvm/lib/Target/AMDGPU/GCNDPPCombine.cpp
index 9a7c1f5d78..b1e46634f5 100644
--- a/llvm/lib/Target/AMDGPU/GCNDPPCombine.cpp
+++ b/llvm/lib/Target/AMDGPU/GCNDPPCombine.cpp
@@ -215,7 +215,7 @@ MachineInstr *GCNDPPCombine::createDPPInst(MachineInstr &OrigMI,
bool HasVOP3DPP = ST->hasVOP3DPP();
auto OrigOp = OrigMI.getOpcode();
- if(AMDGPU::isTrue16Inst(OrigOp)) {
+ if (AMDGPU::isTrue16Inst(OrigOp)) {
LLVM_DEBUG(
dbgs() << " failed: Did not expect any 16-bit uses of dpp values\n");
return nullptr;
``````````
</details>
https://github.com/llvm/llvm-project/pull/128918
More information about the llvm-commits
mailing list