[llvm] [AArch64] Tune unrolling prefs for more patterns on Apple CPUs (PR #149358)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 11 03:59:53 PDT 2025
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 HEAD~1 HEAD --extensions cpp -- llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp b/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
index 1a2af3b82..447edce14 100644
--- a/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
+++ b/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
@@ -4903,7 +4903,7 @@ getAppleRuntimeUnrollPreferences(Loop *L, ScalarEvolution &SE,
BasicBlock *Header = L->getHeader();
if (Header == L->getLoopLatch()) {
// Estimate the size of the loop.
- unsigned Size, Width=10;
+ unsigned Size, Width = 10;
if (!isLoopSizeWithinBudget(L, TTI, Width, &Size))
return;
``````````
</details>
https://github.com/llvm/llvm-project/pull/149358
More information about the llvm-commits
mailing list