[llvm] [LV] Vectorize histogram operations (PR #99851)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 11 05:51:09 PDT 2024


================
@@ -274,6 +276,10 @@ static Instruction *getInstructionForCost(const VPRecipeBase *R) {
     return IG->getInsertPos();
   if (auto *WidenMem = dyn_cast<VPWidenMemoryRecipe>(R))
     return &WidenMem->getIngredient();
+  // FIXME: Override the cost method properly to take gather/scatter cost
----------------
fhahn wrote:

Thanks, can the FIXME & histogram case below be removed?

https://github.com/llvm/llvm-project/pull/99851


More information about the llvm-commits mailing list