[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


================
@@ -1771,6 +1812,9 @@ bool VPInstruction::usesFirstLaneOnly(const VPValue *Op) const {
   case VPInstruction::WidePtrAdd:
     // WidePtrAdd supports scalar and vector base addresses.
     return false;
+  case VPInstruction::VFMultipleLoad:
+  case VPInstruction::VFMultipleStore:
+    return Op == getOperand(0) || Op == getOperand(1) || Op == getOperand(2);
----------------
fhahn wrote:

Can we have cases where the address is also stored? In that case all lanes would be used

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


More information about the llvm-commits mailing list