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

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 3 00:32:55 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__
----------------
boomanaiden154 wrote:

This should definitely be removed. There's no reason to have it.

If it's causing tests to fail/incorrect behavior on other platforms, a more principled approach probably needs to be taken.

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


More information about the llvm-commits mailing list