[llvm] [RISCV] Improve vector pseudo table's experiences on translating between two different pseudo opcodes (PR #177232)

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 22 06:44:36 PST 2026


================
@@ -771,12 +771,18 @@ namespace RISCVVInversePseudosTable {
 struct PseudoInfo {
   uint16_t Pseudo;
   uint16_t BaseInstr;
-  uint8_t VLMul;
-  uint8_t SEW;
+  uint16_t VLMul : 4;
+  uint16_t SEW : 7;
----------------
lukel97 wrote:

VLMul is defined as bits<3> in RVInstCommon, and SEW is defined as bits<8> in RISCVVPseudo, do the bitfields need to match too?

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


More information about the llvm-commits mailing list