[llvm] [LV] Autovectorization for the all-in-one histogram intrinsic (PR #91458)
Paschalis Mpeis via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 3 05:34:30 PDT 2024
================
@@ -8406,6 +8416,34 @@ VPWidenRecipe *VPRecipeBuilder::tryToWiden(Instruction *I,
};
}
+VPHistogramRecipe *
+VPRecipeBuilder::tryToWidenHistogram(const HistogramInfo *HI,
+ ArrayRef<VPValue *> Operands) {
+ // FIXME: Support other operations.
----------------
paschalis-mpeis wrote:
There seems to be some partial support for 'sub' in other places? ie
- in `AccessAnalysis::findHistograms`, and
- in `LoopVectorizationCostModel::getInstructionCost`
https://github.com/llvm/llvm-project/pull/91458
More information about the llvm-commits
mailing list