[llvm] [LV] Add support for widening loads/stores to a VF multiple (PR #217670)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 15 00:19:37 PDT 2026


================
@@ -290,17 +293,85 @@ void UnrollState::unrollHeaderPHIByUF(VPHeaderPHIRecipe *R,
   }
 }
 
+void UnrollState::unrollMemOpWithVFMultiple(VPInstruction *VPI) {
+  assert(VPI->getOpcode() == VPInstruction::VFMultipleLoad ||
+         VPI->getOpcode() == VPInstruction::VFMultipleStore);
----------------
fhahn wrote:

```suggestion
  assert((VPI->getOpcode() == VPInstruction::VFMultipleLoad ||
         VPI->getOpcode() == VPInstruction::VFMultipleStore) && "....");
```

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


More information about the llvm-commits mailing list