[llvm] [LV][RISCV] Add explicit LMUL controls via computeFeasibleMaxVF (PR #193091)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 22 13:46:36 PDT 2026


================
@@ -330,6 +338,12 @@ RISCVTTIImpl::getIntImmCostIntrin(Intrinsic::ID IID, unsigned Idx,
   return TTI::TCC_Free;
 }
 
+static unsigned getMaxElementWidth(const RISCVSubtarget *ST) {
+  // Returns ELEN. This is the value for which k-scale-factor would be one.
+  // Current EPI implementation plans this to be 64.
----------------
topperc wrote:

Drop this reference to EPI?

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


More information about the llvm-commits mailing list