[AArch64] Dump a little more info about unimplemented reg-to-reg copies. NFC

This commit is contained in:
Jon Roelofs 2021-07-12 15:36:36 -07:00
parent 6c04b7dd4f
commit 6611fbc62a
1 changed files with 5 additions and 0 deletions

View File

@ -3621,6 +3621,11 @@ void AArch64InstrInfo::copyPhysReg(MachineBasicBlock &MBB,
return;
}
#ifndef NDEBUG
const TargetRegisterInfo &TRI = getRegisterInfo();
errs() << TRI.getRegAsmName(DestReg) << " = COPY "
<< TRI.getRegAsmName(SrcReg) << "\n";
#endif
llvm_unreachable("unimplemented reg-to-reg copy");
}