<div><font>Hi:</font></div><div><font>For now I've already successfully generated DisassemblerTable from TableGen with ``-gen-disassembler`` which contains the following function:</font></div><div><font><br></font></div><div><font>```</font></div><div><font><div>template<typename InsnType></div><div>static DecodeStatus decodeInstruction(const uint8_t DecodeTable[], MCInst &MI,</div><div>                                      InsnType insn, uint64_t Address,</div><div>                                      const void *DisAsm,</div><div>                                      const MCSubtargetInfo &STI)</div></font></div><div><font>```</font></div><div><font><br></font></div><div>From my understanding here, insn is supposed to contain the actual instruction.</div><div>However in our ISA, instructions can exceed the limit of uint64_t, and passing APInt as InsnType fails to compile because this function calls ``InsnType CurFieldValue = 0`` which is invalid for APInt.</div><div>My question is, which type should I use here?</div><div><br></div><div><br></div><div>Zhang</div><div><includetail><!--<![endif]--></includetail></div>