[llvm] AMDGPU: Resolve some next-use analysis #178873 post-merge feedback (PR #192960)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 28 12:48:58 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 h,cpp -- llvm/lib/Target/AMDGPU/AMDGPU.h llvm/lib/Target/AMDGPU/AMDGPUNextUseAnalysis.cpp llvm/lib/Target/AMDGPU/AMDGPUNextUseAnalysis.h llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.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/AMDGPUNextUseAnalysis.cpp b/llvm/lib/Target/AMDGPU/AMDGPUNextUseAnalysis.cpp
index a76346ed5..73b6b260b 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUNextUseAnalysis.cpp
+++ b/llvm/lib/Target/AMDGPU/AMDGPUNextUseAnalysis.cpp
@@ -2294,7 +2294,8 @@ StringRef AMDGPUNextUseAnalysisLegacyPass::getPassName() const {
return name();
}
-MachineFunctionProperties AMDGPUNextUseAnalysisLegacyPass::getRequiredProperties() const {
+MachineFunctionProperties
+AMDGPUNextUseAnalysisLegacyPass::getRequiredProperties() const {
return AMDGPUNextUseAnalysisImpl::getRequiredProperties();
}
@@ -2333,7 +2334,8 @@ FunctionPass *llvm::createAMDGPUNextUseAnalysisLegacyPass() {
//------------------------------------------------------------------------------
AnalysisKey AMDGPUNextUseAnalysisPass::Key;
-MachineFunctionProperties AMDGPUNextUseAnalysisPass::getRequiredProperties() const {
+MachineFunctionProperties
+AMDGPUNextUseAnalysisPass::getRequiredProperties() const {
return AMDGPUNextUseAnalysisImpl::getRequiredProperties();
}
@@ -2579,7 +2581,8 @@ StringRef AMDGPUNextUseAnalysisPrinterLegacyPass::getPassName() const {
return name();
}
-MachineFunctionProperties AMDGPUNextUseAnalysisPrinterLegacyPass::getRequiredProperties() const {
+MachineFunctionProperties
+AMDGPUNextUseAnalysisPrinterLegacyPass::getRequiredProperties() const {
return AMDGPUNextUseAnalysisImpl::getRequiredProperties();
}
@@ -2633,7 +2636,8 @@ FunctionPass *llvm::createAMDGPUNextUseAnalysisPrinterLegacyPass() {
//------------------------------------------------------------------------------
// New Pass Manager Printer Pass
//------------------------------------------------------------------------------
-MachineFunctionProperties AMDGPUNextUseAnalysisPrinterPass::getRequiredProperties() const {
+MachineFunctionProperties
+AMDGPUNextUseAnalysisPrinterPass::getRequiredProperties() const {
return AMDGPUNextUseAnalysisImpl::getRequiredProperties();
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/192960
More information about the llvm-commits
mailing list