[llvm] [CostModel][AArch64] Make extractelement, with fmul user, free whenev… (PR #111479)

via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 9 01:03:00 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 924a64a3486f9962c42d4ec253774eb2c586ac33 85ca8b215cd5ae51f1ac772d0ecb7e551bef9d55 --extensions cpp,h -- llvm/include/llvm/Analysis/TargetTransformInfo.h llvm/include/llvm/Analysis/TargetTransformInfoImpl.h llvm/include/llvm/CodeGen/BasicTTIImpl.h llvm/lib/Analysis/TargetTransformInfo.cpp llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/llvm/include/llvm/CodeGen/BasicTTIImpl.h b/llvm/include/llvm/CodeGen/BasicTTIImpl.h
index dbb269bee0..dc05c9e703 100644
--- a/llvm/include/llvm/CodeGen/BasicTTIImpl.h
+++ b/llvm/include/llvm/CodeGen/BasicTTIImpl.h
@@ -1287,8 +1287,7 @@ public:
   InstructionCost getVectorInstrCost(
       unsigned Opcode, Type *Val, TTI::TargetCostKind CostKind, unsigned Index,
       Value *Scalar,
-      const ArrayRef<std::tuple<Value *, User *, int>> ScalarUserAndIdx
-      ) {
+      const ArrayRef<std::tuple<Value *, User *, int>> ScalarUserAndIdx) {
     return getVectorInstrCost(Opcode, Val, CostKind, Index, nullptr, nullptr);
   }
 

``````````

</details>


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


More information about the llvm-commits mailing list