[llvm-branch-commits] [llvm] AMDGPU: Add V_CVT_F32_BF16 for gfx950 (PR #116311)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Nov 14 17:47:36 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 d613fe2730831685287e7d2dfc62ff993d8b7a86 0451d01ded8d5669bf1b46071aeb1703484acac1 --extensions h -- llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h b/llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
index ece26a4adb..40be870989 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
+++ b/llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
@@ -167,9 +167,7 @@ public:
   // supported and the support for fake True16 instructions is removed.
   bool useRealTrue16Insts() const;
 
-  bool hasBF16ConversionInsts() const {
-    return HasBF16ConversionInsts;
-  }
+  bool hasBF16ConversionInsts() const { return HasBF16ConversionInsts; }
 
   bool hasMadMixInsts() const {
     return HasMadMixInsts;

``````````

</details>


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


More information about the llvm-branch-commits mailing list