[llvm] [AArch64] Increase scatter overhead on Neoverse-V2 (PR #101296)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 31 00:26:09 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 25bea3eb03dc3f9036af37bd51edcf297662d34f 81494cd0eed790dc2586329e08526426af32b436 --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 08169d31ac..1f4fb1c91c 100644
--- a/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
+++ b/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
@@ -3426,7 +3426,7 @@ InstructionCost AArch64TTIImpl::getGatherScatterOpCost(
   // point we may want a per-CPU overhead.
   unsigned OpCost = 1;
   if (ST->getProcFamily() == AArch64Subtarget::NeoverseV2) {
-     // Specialize overhead of scatter instructions on Neoverse-V2
+    // Specialize overhead of scatter instructions on Neoverse-V2
     if (Opcode == Instruction::Store)
       OpCost = 13;
   } else {

``````````

</details>


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


More information about the llvm-commits mailing list