[llvm] AMDGPU: Define and Use HasInterpInsts for interp inst definitions (PR #84102)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 5 17:49:20 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 889d99a50f38150570f6fca903d61ee9770bd932 f815ee4d9f613103f2d18ac98838d12cb42d356a -- 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 3283ac72aa..475c1b0c3f 100644
--- a/llvm/lib/Target/AMDGPU/GCNSubtarget.h
+++ b/llvm/lib/Target/AMDGPU/GCNSubtarget.h
@@ -651,9 +651,7 @@ public:
return !hasGFX940Insts();
}
- bool hasInterpInsts() const {
- return GFX11Insts;
- }
+ bool hasInterpInsts() const { return GFX11Insts; }
// DS_ADD_F64/DS_ADD_RTN_F64
bool hasLdsAtomicAddF64() const { return hasGFX90AInsts(); }
``````````
</details>
https://github.com/llvm/llvm-project/pull/84102
More information about the llvm-commits
mailing list