[llvm] [NFC][Scalarizer][TargetTransformInfo] Add `isVectorIntrinsicWithOverloadTypeAtArg` api (PR #114849)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 20 11:12:57 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 eaa7b385368fa7e3dad9b95411d04be55e71494e ad7ae0ca1d8f40b9b1cfd80af578c804f912079a --extensions h,cpp -- llvm/include/llvm/Analysis/TargetTransformInfo.h llvm/include/llvm/Analysis/TargetTransformInfoImpl.h llvm/include/llvm/Analysis/VectorUtils.h llvm/include/llvm/CodeGen/BasicTTIImpl.h llvm/lib/Analysis/TargetTransformInfo.cpp llvm/lib/Analysis/VectorUtils.cpp llvm/lib/CodeGen/ReplaceWithVeclib.cpp llvm/lib/Target/DirectX/DirectXTargetTransformInfo.cpp llvm/lib/Target/DirectX/DirectXTargetTransformInfo.h llvm/lib/Transforms/Scalar/Scalarizer.cpp llvm/lib/Transforms/Vectorize/LoopVectorize.cpp llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp llvm/lib/Transforms/Vectorize/VPlan.cpp llvm/lib/Transforms/Vectorize/VPlan.h llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/Analysis/TargetTransformInfo.h b/llvm/include/llvm/Analysis/TargetTransformInfo.h
index 291d3af000..d9d8233e56 100644
--- a/llvm/include/llvm/Analysis/TargetTransformInfo.h
+++ b/llvm/include/llvm/Analysis/TargetTransformInfo.h
@@ -896,8 +896,9 @@ public:
bool isTargetIntrinsicWithScalarOpAtArg(Intrinsic::ID ID,
unsigned ScalarOpdIdx) const;
- /// Identifies if the vector form of the intrinsic is overloaded on the type of
- /// the operand at index \p OpdIdx, or on the return type if \p OpdIdx is -1.
+ /// Identifies if the vector form of the intrinsic is overloaded on the type
+ /// of the operand at index \p OpdIdx, or on the return type if \p OpdIdx is
+ /// -1.
bool isVectorIntrinsicWithOverloadTypeAtArg(Intrinsic::ID ID,
int ScalarOpdIdx) const;
``````````
</details>
https://github.com/llvm/llvm-project/pull/114849
More information about the llvm-commits
mailing list