forked from OSchip/llvm-project
[AArch64] Dump a little more info about unimplemented reg-to-reg copies. NFC
This commit is contained in:
parent
6c04b7dd4f
commit
6611fbc62a
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue