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 c29d8202c06488a9466aea49dda4cf2b4663236e
296a9db2611c31497fb40b5b01a027440dcda2a5 --extensions h,cpp --
llvm/include/llvm/CodeGen/SelectionDAGISel.h
llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
llvm/lib/Target/AMDGPU/SILateBranchLowering.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
b/llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
index cbbf9dcd82..4e16a70bd5 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
+++ b/llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
@@ -1246,7 +1246,8 @@ bool AMDGPUCallLowering::lowerTailCall(
// On GFX12, we can only change the VGPR allocation for wave32.
if (!ST.isWave32()) {
- LLVM_DEBUG(dbgs() << "Dynamic VGPR mode is only supported for
wave32\n");
+ LLVM_DEBUG(
+ dbgs() << "Dynamic VGPR mode is only supported for wave32\n");
return false;
}
diff --git a/llvm/lib/Target/AMDGPU/SILateBranchLowering.cpp
b/llvm/lib/Target/AMDGPU/SILateBranchLowering.cpp
index f1ecd25392..9100e07ea4 100644
--- a/llvm/lib/Target/AMDGPU/SILateBranchLowering.cpp
+++ b/llvm/lib/Target/AMDGPU/SILateBranchLowering.cpp
@@ -215,7 +215,7 @@ bool
SILateBranchLowering::runOnMachineFunction(MachineFunction &MF) {
case AMDGPU::SI_CS_CHAIN_TC_W32:
case AMDGPU::SI_CS_CHAIN_TC_W64:
- expandChainCall(MI, ST, /*DynamicVGPR=*/ false);
+ expandChainCall(MI, ST, /*DynamicVGPR=*/false);
MadeChange = true;
break;
case AMDGPU::SI_CS_CHAIN_TC_W32_DVGPR:
``````````
</details>
https://github.com/llvm/llvm-project/pull/130094
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits