[llvm] [llvm-exegesis] [AArch64] Resolving "not all operands are initialized by snippet generator" (PR #142529)

David Green via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 26 02:02:48 PDT 2025


================
@@ -1316,14 +1327,6 @@ def logical_vec_hw_shift : Operand<i32> {
   let ParserMatchClass = LogicalVecHalfWordShifterOperand;
 }
 
-// A vector move shifter operand:
-//  {0} - imm1: #8 or #16
-def move_vec_shift : Operand<i32> {
----------------
davemgreen wrote:

Sorry I wasn't clear. I just meant to use the existing code but add OperandType and OperandNamespace at the end together
```
// A vector move shifter operand:
//  {0} - imm1: #8 or #16
def move_vec_shift : Operand<i32> {
  let PrintMethod = "printShifter";
  let EncoderMethod = "getMoveVecShifterOpValue";
  let ParserMatchClass = MoveVecShifterOperand;
  let OperandType = "OPERAND_MSL_SHIFT";
  let OperandNamespace = "AArch64";
}
```

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


More information about the llvm-commits mailing list