[llvm] [TTI] Add costing for vp.strided.load and vp.strided.store (PR #80360)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 1 14:53:04 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 375bd2201ce0d2c76cb47a02c87b8ca5ba8a3509 5c7893e0ca2df7da8fdc8a0119899fd1bf825079 -- llvm/include/llvm/CodeGen/BasicTTIImpl.h
``````````
</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 cf71356fc7..bea38b42a1 100644
--- a/llvm/include/llvm/CodeGen/BasicTTIImpl.h
+++ b/llvm/include/llvm/CodeGen/BasicTTIImpl.h
@@ -1614,8 +1614,9 @@ public:
const Value *EVL = Args[4];
bool VarMask = !isa<Constant>(Mask) || !isa<Constant>(EVL);
Align Alignment = I->getParamAlign(1).value_or(Align(1));
- return thisT()->getStridedMemoryOpCost(Instruction::Load, Data->getType(), Ptr,
- VarMask, Alignment, CostKind, I);
+ return thisT()->getStridedMemoryOpCost(Instruction::Load, Data->getType(),
+ Ptr, VarMask, Alignment, CostKind,
+ I);
}
case Intrinsic::experimental_vp_strided_load: {
const Value *Ptr = Args[0];
``````````
</details>
https://github.com/llvm/llvm-project/pull/80360
More information about the llvm-commits
mailing list