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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 12 00:28:31 PDT 2024


================
@@ -30,6 +31,7 @@
 #include "llvm/Transforms/Utils/BasicBlockUtils.h"
 #include "llvm/Transforms/Utils/LoopUtils.h"
 #include "llvm/Transforms/Utils/ScalarEvolutionExpander.h"
+#include "llvm/Transforms/Vectorize/LoopVectorizationLegality.h"
----------------
fhahn wrote:

Might be better to define HistogramInfo in VPlan.h instead of pulling `LoopVectorizationLegality.h` in here, as VPlanRecipes.cpp should not depend/rely on LVL

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


More information about the llvm-commits mailing list