[llvm] AMDGPU: Rename HasVinterInsts to HasVINTERPEncoding, NFC (PR #84535)

via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 8 10:55:01 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 839a8fecb4c5dfe1b4484d5fc942a9490867c47a f168eeb22c751a9d95f19d0e45e64f7b6cc7a009 -- 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 ca51da659c..76f7556ba5 100644
--- a/llvm/lib/Target/AMDGPU/GCNSubtarget.h
+++ b/llvm/lib/Target/AMDGPU/GCNSubtarget.h
@@ -652,9 +652,7 @@ public:
     return !hasGFX940Insts();
   }
 
-  bool hasVINTERPEncoding() const {
-    return GFX11Insts;
-  }
+  bool hasVINTERPEncoding() const { return GFX11Insts; }
 
   // DS_ADD_F64/DS_ADD_RTN_F64
   bool hasLdsAtomicAddF64() const { return hasGFX90AInsts(); }

``````````

</details>


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


More information about the llvm-commits mailing list