[llvm] [RISCV] Correct getOperandLog2EEW for VCOMPRESS_VM. (PR #156719)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 3 22:14:17 PDT 2025


================
@@ -674,6 +671,12 @@ getOperandLog2EEW(const MachineOperand &MO, const MachineRegisterInfo *MRI) {
     return MILog2SEW;
   }
 
+  // Vector Compress Instruction
+  // EEW=SEW except the mask operand has EEW=1. Mask operand is not handled
----------------
topperc wrote:

```suggestion
  // EEW=SEW, except the mask operand has EEW=1. Mask operand is not handled
```

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


More information about the llvm-commits mailing list