[llvm] [CodeGen] Enable `HandleUnknown` for pointer types (PR #93464)
via llvm-commits
llvm-commits at lists.llvm.org
Mon May 27 05:33:57 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 7a28a5b3fee6c78ad59af79a3d03c00db153c49f 3fdfc1b1111bf1eafcbbad65d4c205a4fd1a9c22 -- llvm/lib/Target/X86/X86TargetTransformInfo.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/X86/X86TargetTransformInfo.cpp b/llvm/lib/Target/X86/X86TargetTransformInfo.cpp
index e0a43fb0fb..bc1ce1ac90 100644
--- a/llvm/lib/Target/X86/X86TargetTransformInfo.cpp
+++ b/llvm/lib/Target/X86/X86TargetTransformInfo.cpp
@@ -6259,7 +6259,8 @@ InstructionCost X86TTIImpl::getInterleavedMemoryOpCostAVX512(
unsigned VF = VecTy->getNumElements() / Factor;
// FIXME: Handle this case correctly
bool IgnorePtrTy = VecTy->getScalarType()->isPointerTy();
- MVT VT = MVT::getVectorVT(MVT::getVT(VecTy->getScalarType(), IgnorePtrTy), VF);
+ MVT VT =
+ MVT::getVectorVT(MVT::getVT(VecTy->getScalarType(), IgnorePtrTy), VF);
InstructionCost MaskCost;
if (UseMaskedMemOp) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/93464
More information about the llvm-commits
mailing list