[llvm] [VPlan] Impl VPlan-based pattern match for ExtendedRed and MulAccRed (NFCI) (PR #113903)
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 24 10:58:02 PST 2024
================
@@ -1523,49 +1523,50 @@ void VPWidenCastRecipe::execute(VPTransformState &State) {
setFlags(CastOp);
}
+/// Computes the CastContextHint for a recipe.
+static TTI::CastContextHint computeCCH(const VPRecipeBase *R, ElementCount VF) {
+ if (VF.isScalar())
+ return TTI::CastContextHint::Normal;
----------------
alexey-bataev wrote:
```suggestion
return TTI::CastContextHint::None;
```
?
https://github.com/llvm/llvm-project/pull/113903
More information about the llvm-commits
mailing list