[all-commits] [llvm/llvm-project] c31fca: [M68k] Fix printing of immediate in `M68kOperand::...

Ian Douglas Scott via All-commits all-commits at lists.llvm.org
Sun Apr 16 15:45:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c31fca105bb75812ffc70a41a4c9ecdf4983a3f4
      https://github.com/llvm/llvm-project/commit/c31fca105bb75812ffc70a41a4c9ecdf4983a3f4
  Author: Ian Douglas Scott <ian at iandouglasscott.com>
  Date:   2023-04-16 (Sun, 16 Apr 2023)

  Changed paths:
    M llvm/lib/Target/M68k/AsmParser/M68kAsmParser.cpp
    A llvm/test/MC/M68k/operand.s

  Log Message:
  -----------
  [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




More information about the All-commits mailing list