[llvm] 5a56f00 - [M68k] Fix assertion build after cc6a5ea6e33d3febafc4334617230c528a0c4fa7
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 17 17:08:30 PDT 2023
Author: Fangrui Song
Date: 2023-10-17T17:08:26-07:00
New Revision: 5a56f0074cf3229983a15496c3caa41d27c5606f
URL: https://github.com/llvm/llvm-project/commit/5a56f0074cf3229983a15496c3caa41d27c5606f
DIFF: https://github.com/llvm/llvm-project/commit/5a56f0074cf3229983a15496c3caa41d27c5606f.diff
LOG: [M68k] Fix assertion build after cc6a5ea6e33d3febafc4334617230c528a0c4fa7
Added:
Modified:
llvm/lib/Target/M68k/MCTargetDesc/M68kMCCodeEmitter.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/M68k/MCTargetDesc/M68kMCCodeEmitter.cpp b/llvm/lib/Target/M68k/MCTargetDesc/M68kMCCodeEmitter.cpp
index 32a5bb1dc670613..97f5d7a3dc0776f 100644
--- a/llvm/lib/Target/M68k/MCTargetDesc/M68kMCCodeEmitter.cpp
+++ b/llvm/lib/Target/M68k/MCTargetDesc/M68kMCCodeEmitter.cpp
@@ -204,7 +204,7 @@ void M68kMCCodeEmitter::encodeInstruction(const MCInst &MI,
SmallVectorImpl<MCFixup> &Fixups,
const MCSubtargetInfo &STI) const {
LLVM_DEBUG(dbgs() << "EncodeInstruction: " << MCII.getName(MI.getOpcode())
- << "(" << Opcode << ")\n");
+ << "(" << MI.getOpcode() << ")\n");
(void)MCII;
// Try using the new method first.
More information about the llvm-commits
mailing list