[llvm-branch-commits] [llvm] AMDGPU: Add minimum3/maximum3 pkf16 for gfx950 encodings (PR #117601)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Nov 25 10:25:38 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 f1278e9505bb92cbe1d108a8e745352e23dba3ef d6a1de80431f1b8db2da27d5fa66f9d3233962cd --extensions h -- 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 ea5e159fdd..ffed7627c9 100644
--- a/llvm/lib/Target/AMDGPU/GCNSubtarget.h
+++ b/llvm/lib/Target/AMDGPU/GCNSubtarget.h
@@ -1349,9 +1349,7 @@ public:
     return HasMinimum3Maximum3F16;
   }
 
-  bool hasMinimum3Maximum3PKF16() const {
-    return HasMinimum3Maximum3PKF16;
-  }
+  bool hasMinimum3Maximum3PKF16() const { return HasMinimum3Maximum3PKF16; }
 
   /// \returns The maximum number of instructions that can be enclosed in an
   /// S_CLAUSE on the given subtarget, or 0 for targets that do not support that

``````````

</details>


https://github.com/llvm/llvm-project/pull/117601


More information about the llvm-branch-commits mailing list