[llvm] [AMDGPU] Reset WavesPerEU in AAAMDWavesPerEU::initialize (PR #114162)

via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 29 17:57:02 PDT 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 255e441613e39a391e9f85d6a605cc9e46dcf273 31ec4895de5f0ac3e6648d240cda9670c40d6b73 --extensions cpp -- llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp b/llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
index 0e83221b46..034988e94f 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
+++ b/llvm/lib/Target/AMDGPU/AMDGPUAttributor.cpp
@@ -843,7 +843,7 @@ struct AAAMDWavesPerEU : public AAAMDSizeRangeAttribute {
                AssumedGroupSize->getAssumed().getUpper().getZExtValue() - 1});
 
       ConstantRange Range(APInt(32, Min), APInt(32, Max + 1));
-      
+
       // Reset in case this is subsequent run and CallGraph is updated
       *this &= Range;
     }

``````````

</details>


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


More information about the llvm-commits mailing list