[llvm] Amdgpu gate lds runtime unroll (PR #222853)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 10 23:33:53 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/AMDGPUTargetTransformInfo.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/AMDGPUTargetTransformInfo.cpp b/llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
index d3bd60255..b2e6d43fa 100644
--- a/llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
+++ b/llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
@@ -51,10 +51,10 @@ static cl::opt<unsigned> UnrollThresholdIf(
cl::init(200), cl::Hidden);
static cl::opt<bool> UnrollRuntimeLocal(
- "amdgpu-unroll-runtime-local",
- cl::desc("Gate runtime unroll for AMDGPU by this knob if local memory used "
- "in a loop"),
- cl::init(true), cl::Hidden);
+ "amdgpu-unroll-runtime-local",
+ cl::desc("Gate runtime unroll for AMDGPU by this knob if local memory used "
+ "in a loop"),
+ cl::init(true), cl::Hidden);
static cl::opt<unsigned> UnrollMaxBlockToAnalyze(
"amdgpu-unroll-max-block-to-analyze",
``````````
</details>
https://github.com/llvm/llvm-project/pull/222853
More information about the llvm-commits
mailing list