[llvm] [LV] Fix missing MetaData for histogram instructions (PR #134241)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 1 05:57:15 PDT 2026


================
@@ -2143,20 +2143,21 @@ class LLVM_ABI_FOR_TEST VPWidenCallRecipe : public VPRecipeWithIRFlags,
 /// lanes, which is handled by the llvm.experimental.vector.histogram family
 /// of intrinsics. The only update operations currently supported are
 /// 'add' and 'sub' where the other term is loop-invariant.
-class VPHistogramRecipe : public VPRecipeBase {
+class VPHistogramRecipe : public VPRecipeBase, public VPIRMetadata {
----------------
RonDahan101 wrote:

I added the test the print function seems to work

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


More information about the llvm-commits mailing list