================ @@ -1751,6 +1776,8 @@ void X86MCCodeEmitter::encodeInstruction(const MCInst &MI, break; } case X86II::MRMSrcMemCC: { + if (IsND) ---------------- KanRobert wrote: ditto https://github.com/llvm/llvm-project/pull/82592