No public description

PiperOrigin-RevId: 912168410
Change-Id: Ide5939be73d38a898f9094e8be115bb4193a7370
diff --git a/riscv/riscv_vector_memory_instructions.cc b/riscv/riscv_vector_memory_instructions.cc
index 6b18ff6..62a7316 100644
--- a/riscv/riscv_vector_memory_instructions.cc
+++ b/riscv/riscv_vector_memory_instructions.cc
@@ -174,7 +174,8 @@
       rv_vector->set_vector_exception();
       return;
     }
-    rv_vector->set_vector_length(new_max_length);
+
+    // When both rs1 and rd are zero, the vector length remains unchanged.
     return;
   }
   if (!rs1_zero) {  // There is a requested vector length.