[llvm] [VPlan] Introduce recipes for VP loads and stores. (PR #87816)

via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 18 13:45:47 PDT 2024


================
@@ -48,6 +48,7 @@ bool VPRecipeBase::mayWriteToMemory() const {
   case VPInterleaveSC:
     return cast<VPInterleaveRecipe>(this)->getNumStoreOperands() > 0;
   case VPWidenStoreSC:
+  case VPWidenEVLStoreSC:
----------------
ayalz wrote:

```suggestion
  case VPWidenEVLStoreSC:
  case VPWidenStoreSC:
```
nit: lex order

There are many such disorders below, where the EVL and non-EVL versions would be listed apart. Perhaps better call them `VPWidenLoadEVL[SC]` and `VPWidenStoreEVL[SC]`, for better alignment?

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


More information about the llvm-commits mailing list