Ian Douglas Scott c31fca105b [M68k] Fix printing of immediate in M68kOperand::print
The `Imm` union variant wasn't initialized anywhere. This fixes what is
printed by `llvm-mc -arch m68k --show-inst-operands`.

Differential Revision: https://reviews.llvm.org/D148302
2023-04-16 15:44:18 -07:00

6 lines
168 B
ArmAsm

# RUN: llvm-mc -triple=m68k -show-inst-operands %s 2> %t0
# RUN: FileCheck %s < %t0
; CHECK: parsed instruction: [token 'move.l', immediate 123, %24]
move.l #123, %d0