[llvm] [LV] Don't treat the pointer operand of histograms as scalar uses (PR #215769)

Benjamin Maxwell via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 12 03:50:04 PDT 2026


================
@@ -2239,7 +2239,8 @@ void LoopVectorizationCostModel::collectLoopScalars(ElementCount VF) {
         return WideningDecision == CM_Scalarize;
----------------
MacDue wrote:

No, we only support histograms on integer values (so a store of pointer values would not be part of a histogram). 

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


More information about the llvm-commits mailing list