[clang] [llvm] [AMDGPU] Add llvm.amdgcn.s.setprio.relaxed intrinsic (PR #204850)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 27 08:58:57 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 -- llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp llvm/lib/Target/AMDGPU/SIInstrInfo.cpp --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/AMDGPUIGroupLP.cpp b/llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp
index 44315f0ac..db751de54 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp
+++ b/llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp
@@ -2799,8 +2799,10 @@ void IGroupLPDAGMutation::addSchedBarrierEdges(SUnit &Barrier,
// Preserve original instruction ordering relative to the barrier.
SG.link(
Barrier,
- (function_ref<bool(const SUnit *A, const SUnit *B)>)[](
- const SUnit *A, const SUnit *B) { return A->NodeNum > B->NodeNum; });
+ (function_ref<bool(const SUnit *A, const SUnit *B)>)[](const SUnit *A,
+ const SUnit *B) {
+ return A->NodeNum > B->NodeNum;
+ });
}
SchedGroupMask
``````````
</details>
https://github.com/llvm/llvm-project/pull/204850
More information about the cfe-commits
mailing list