Skip to content

Commit

Permalink
[AArch64] Dump a little more info about unimplemented reg-to-reg copi…
Browse files Browse the repository at this point in the history
…es. NFC
  • Loading branch information
jroelofs committed Jul 12, 2021
1 parent 6c04b7d commit 6611fbc
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
Expand Up @@ -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");
}

Expand Down

0 comments on commit 6611fbc

Please sign in to comment.