[llvm] AMDGPI: Rename HasExpOrExportInsts to HasExportInsts. NFC (PR #84252)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 6 14:56:39 PST 2024
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 96813de52d09d983d14a30ef5e2b4b8658f8e952 38597209bf26d1584ab661b9c0a8ee36b71d9ef6 -- llvm/lib/Target/AMDGPU/GCNSubtarget.h
``````````
</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 afe3af07dc..d5b95d0f3b 100644
--- a/llvm/lib/Target/AMDGPU/GCNSubtarget.h
+++ b/llvm/lib/Target/AMDGPU/GCNSubtarget.h
@@ -648,9 +648,7 @@ public:
// BUFFER/FLAT/GLOBAL_ATOMIC_ADD/MIN/MAX_F64
bool hasBufferFlatGlobalAtomicsF64() const { return hasGFX90AInsts(); }
- bool hasExportInsts() const {
- return !hasGFX940Insts();
- }
+ bool hasExportInsts() const { return !hasGFX940Insts(); }
bool hasInterpInsts() const {
return GFX11Insts;
``````````
</details>
https://github.com/llvm/llvm-project/pull/84252
More information about the llvm-commits
mailing list