================ ---------------- arsenm wrote: Take the register class from the instruction you are going to emit's operand descriptor. i.e. TII->getRegClass(getDesc(V_MOV_B64), 1) https://github.com/llvm/llvm-project/pull/214561