[llvm] [AArch64] Improve codegen of vectorised early exit loops (PR #119534)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 11 02:09:42 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 f7685af4a5bd188e6d548967d818d8569f10a70d c01a65ffb365079658128e1f0b341f5b6665ac86 --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 e1c7f5a2c8..6b76c1a1fe 100644
--- a/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
+++ b/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
@@ -5092,7 +5092,7 @@ bool AArch64TTIImpl::isProfitableToSinkOperands(
}
}
- auto ShouldSinkCondition = [] (Value *Cond) -> bool {
+ auto ShouldSinkCondition = [](Value *Cond) -> bool {
auto *II = dyn_cast<IntrinsicInst>(Cond);
return II && II->getIntrinsicID() == Intrinsic::vector_reduce_or &&
isa<ScalableVectorType>(II->getOperand(0)->getType());
``````````
</details>
https://github.com/llvm/llvm-project/pull/119534
More information about the llvm-commits
mailing list