[llvm] [LV][EVL] Support interleaved access with tail folding by EVL (PR #152070)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 5 04:20:48 PDT 2025


================
@@ -108,6 +109,9 @@ bool VPRecipeBase::mayReadFromMemory() const {
   case VPWidenLoadEVLSC:
   case VPWidenLoadSC:
     return true;
+  case VPInterleaveEVLSC:
+  case VPInterleaveSC:
+    return cast<VPInterleaveBase>(this)->getNumStoreOperands() == 0;
----------------
lukel97 wrote:

Are we missing mayReadFromMemory for regular VPInterleaveRecipes? Can this be split off into a separate PR?

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


More information about the llvm-commits mailing list