[llvm] [LV][EVL] Introduce MergeUntilPivot VPInstruction to enable out-loop reduction in EVL vectorization. (PR #101641)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 14 08:18:59 PDT 2024


================
@@ -1125,6 +1125,8 @@ RISCVTTIImpl::getIntrinsicInstrCost(const IntrinsicCostAttributes &ICA,
         *FOp, ICA.getArgTypes()[0], UI->getPointerAlignment(),
         UI->getOperand(1)->getType()->getPointerAddressSpace(), CostKind);
   }
+  case Intrinsic::vp_merge:
+    return 1;
----------------
fhahn wrote:

Ideally this would be done separately from the patch, with the cost model tests independent of LV

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


More information about the llvm-commits mailing list