[flang-commits] [lld] [compiler-rt] [flang] [libc] [libcxx] [llvm] [clang] [lldb] [clang-tools-extra] [AMDGPU] Use alias scope to relax waitcounts for LDS DMA (PR #75974)

via flang-commits flang-commits at lists.llvm.org
Tue Dec 19 14:28:11 PST 2023


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 b3d024c6737adb87e83193de88af04ec74ddf3ea 154ab4f551b5f0bf83e016ebb6fa8516be67fc31 -- llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp b/llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
index f931c94497..63646e8679 100644
--- a/llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
+++ b/llvm/lib/Target/AMDGPU/SIInsertWaitcnts.cpp
@@ -302,9 +302,7 @@ public:
     PendingEvents |= WaitEventMaskForInst[VS_CNT];
   }
 
-  ArrayRef<const MDNode *> getLDSDMAScopes() const {
-    return LDSDMAScopes;
-  }
+  ArrayRef<const MDNode *> getLDSDMAScopes() const { return LDSDMAScopes; }
 
   void print(raw_ostream &);
   void dump() { print(dbgs()); }

``````````

</details>


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


More information about the flang-commits mailing list