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 f221f63e40154aaf7f97acc3e48a8b7ba5659f8d 
59111c23aa1305a324a8dcb66757a07f8e9ef88c --extensions h,cpp -- 
llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp 
llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp 
llvm/lib/Target/AMDGPU/GCNSubtarget.h 
llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp 
llvm/lib/TargetParser/TargetParser.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Target/AMDGPU/GCNSubtarget.h 
b/llvm/lib/Target/AMDGPU/GCNSubtarget.h
index cdc5e1a66a..93d938b533 100644
--- a/llvm/lib/Target/AMDGPU/GCNSubtarget.h
+++ b/llvm/lib/Target/AMDGPU/GCNSubtarget.h
@@ -831,9 +831,7 @@ public:
     return HasDot12Insts;
   }
 
-  bool hasDot13Insts() const {
-    return HasDot13Insts;
-  }
+  bool hasDot13Insts() const { return HasDot13Insts; }
 
   bool hasMAIInsts() const {
     return HasMAIInsts;

``````````

</details>


https://github.com/llvm/llvm-project/pull/117598
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to