From: Jon Roelofs Date: Mon, 12 Jul 2021 22:36:36 +0000 (-0700) Subject: [AArch64] Dump a little more info about unimplemented reg-to-reg copies. NFC X-Git-Tag: llvmorg-14-init~1688 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6611fbc62af59a1d28a9f310d2e95267911d4385;p=platform%2Fupstream%2Fllvm.git [AArch64] Dump a little more info about unimplemented reg-to-reg copies. NFC --- diff --git a/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp b/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp index e1f1c07..b03d421 100644 --- a/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp +++ b/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp @@ -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"); }