[llvm] 6611fbc - [AArch64] Dump a little more info about unimplemented reg-to-reg copies. NFC
Jon Roelofs via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 12 15:37:46 PDT 2021
Author: Jon Roelofs
Date: 2021-07-12T15:37:11-07:00
New Revision: 6611fbc62af59a1d28a9f310d2e95267911d4385
URL: https://github.com/llvm/llvm-project/commit/6611fbc62af59a1d28a9f310d2e95267911d4385
DIFF: https://github.com/llvm/llvm-project/commit/6611fbc62af59a1d28a9f310d2e95267911d4385.diff
LOG: [AArch64] Dump a little more info about unimplemented reg-to-reg copies. NFC
Added:
Modified:
llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp b/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
index e1f1c073346f..b03d421d3e6d 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");
}
More information about the llvm-commits
mailing list