[llvm] [llvm-exegesis] [AArch64] Resolving "not all operands are initialized by snippet generator" (PR #142529)
Lakshay Kumar via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 3 12:10:58 PDT 2025
================
@@ -276,6 +276,14 @@ static Error randomizeMCOperand(const LLVMState &State,
AssignedValue = MCOperand::createReg(randomBit(AllowedRegs));
break;
}
+ /// Omit unknown and pc-relative operands to imm value based on the instruction
+ // TODO: Neccesity of AArch64 guard ?
+#ifdef __aarch64__
----------------
lakshayk-nv wrote:
Sure, removed the guard.
There aren't any regression posed by this PR changes, checked on `--mcpu=neoverse-v2` and `znver4` by `ninja check-llvm`.
[For completeness]
x86 instruction can throw `unimplemented operand type OPERAND_UNKNOWN` from `not all operands are initalized by snippet generator`but not observed till now.
https://github.com/llvm/llvm-project/pull/142529
More information about the llvm-commits
mailing list