[llvm] [AMDGPU] Model GFX1250 VALU blocking cycles (PR #222483)

via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 16 21:24:34 PDT 2026


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 origin/main HEAD --extensions cpp,h -- llvm/lib/Target/AMDGPU/AMDGPUCoExecSchedStrategy.cpp llvm/lib/Target/AMDGPU/GCNSubtarget.h llvm/lib/Target/AMDGPU/SIInstrInfo.cpp llvm/lib/Target/AMDGPU/SIInstrInfo.h --diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</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 7e1f96755..ab955a7cf 100644
--- a/llvm/lib/Target/AMDGPU/GCNSubtarget.h
+++ b/llvm/lib/Target/AMDGPU/GCNSubtarget.h
@@ -1034,9 +1034,7 @@ public:
 
   /// True if VALU pipe occupancy is modeled with GFX1250BlockingCycles
   /// (gfx1250 pipeline property, not gfx1250 ISA feature).
-  bool hasGFX1250VALUBlockingCycles() const {
-    return AMDGPU::isGFX1250(*this);
-  }
+  bool hasGFX1250VALUBlockingCycles() const { return AMDGPU::isGFX1250(*this); }
 
   /// \returns the number of significant bits in the immediate field of the
   /// S_NOP instruction.

``````````

</details>


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


More information about the llvm-commits mailing list