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

Mel Chen via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 14 07:57:11 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;
----------------
Mel-Chen wrote:

@ElvisWang123 Could you help to patch the cost of vp_merge in RISCV?

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


More information about the llvm-commits mailing list