[llvm] [AMDGPU] Add iglp_opt(2) to provide initial MFMA/Exp interleaving (PR #80370)

via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 1 17:26:12 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 209fe1f3d70d1c4a20bb2687e0d0a94b1bbfa0c6 940f6c0cfaf29a0c6bd933ff5881c37469da94a5 -- llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.h llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp llvm/lib/Target/AMDGPU/GCNSchedStrategy.cpp
``````````

</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 175356b55a..3e9cf36127 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp
+++ b/llvm/lib/Target/AMDGPU/AMDGPUIGroupLP.cpp
@@ -1178,8 +1178,8 @@ private:
       if (Cache->empty())
         return false;
 
-      return  !(std::any_of(
-          Cache->begin(), Cache->end(), [&SU, &DAG](SUnit *BaseSU) {
+      return !(
+          std::any_of(Cache->begin(), Cache->end(), [&SU, &DAG](SUnit *BaseSU) {
             return DAG->IsReachable(BaseSU, const_cast<SUnit *>(SU));
           }));
     }

``````````

</details>


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


More information about the llvm-commits mailing list