[llvm] [LV] Fix missing MetaData for histogram instructions (PR #134241)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 1 05:56:50 PDT 2026
================
@@ -6569,7 +6569,9 @@ VPHistogramRecipe *VPRecipeBuilder::widenIfHistogram(VPInstruction *VPI) {
if (CM.isMaskRequired(HI->Store))
HGramOps.push_back(VPI->getMask());
- return new VPHistogramRecipe(Opcode, HGramOps, VPI->getDebugLoc());
+ return new VPHistogramRecipe(Opcode, HGramOps,
+ static_cast<const VPIRMetadata &>(*VPI),
----------------
RonDahan101 wrote:
Done
https://github.com/llvm/llvm-project/pull/134241
More information about the llvm-commits
mailing list