[llvm] [SystemZ] Provide improved cost estimates (PR #83873)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 4 08:56:29 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 d0521484c854adf082936824c99f9db101363cb8 b827245e515d9c4a063abe4717dde531692801d6 -- llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp b/llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
index 2d0c3e5519..17ff8a01be 100644
--- a/llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
+++ b/llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
@@ -1321,8 +1321,8 @@ getVectorIntrinsicInstrCost(Intrinsic::ID ID, Type *RetTy,
InstructionCost
SystemZTTIImpl::getIntrinsicInstrCost(const IntrinsicCostAttributes &ICA,
TTI::TargetCostKind CostKind) {
- InstructionCost Cost =
- getVectorIntrinsicInstrCost(ICA.getID(), ICA.getReturnType(), ICA.getArgTypes());
+ InstructionCost Cost = getVectorIntrinsicInstrCost(
+ ICA.getID(), ICA.getReturnType(), ICA.getArgTypes());
if (Cost != -1)
return Cost;
return BaseT::getIntrinsicInstrCost(ICA, CostKind);
``````````
</details>
https://github.com/llvm/llvm-project/pull/83873
More information about the llvm-commits
mailing list