[llvm] [LV][EVL] Support interleaved access with tail folding by EVL (PR #152070)
Mel Chen via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 11 03:41:23 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;
----------------
Mel-Chen wrote:
We already asserted it in the VPInterleaveEVLRecipe constructor.
```
assert(!IG->isReverse() &&
"Reversed interleave-group with tail folding is not supported.");
```
https://github.com/llvm/llvm-project/pull/152070
More information about the llvm-commits
mailing list