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

Sjoerd Meijer via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 24 02:39:40 PDT 2025


================
@@ -229,6 +233,41 @@ class ExegesisAArch64Target : public ExegesisTarget {
   }
 };
 
+Error ExegesisAArch64Target::randomizeTargetMCOperand(
+    const Instruction &Instr, const Variable &Var, MCOperand &AssignedValue,
+    const BitVector &ForbiddenRegs) const {
+  const Operand &Op = Instr.getPrimaryOperand(Var);
+  const auto OperandType = Op.getExplicitOperandInfo().OperandType;
+  // TODO: Look into immediate values to be opcode specific for
----------------
sjoerdmeijer wrote:

Please clarify what this means, I don't think it is clear what this means and what the current behaviour is. From what I understand, it is probably more appropriate to replace the TODO with a FIXME, but will leave that up to you. 

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


More information about the llvm-commits mailing list