[all-commits] [llvm/llvm-project] 47f52f: [M68k][AsmParser] Support parsing register masks &...

Ricky Taylor via All-commits all-commits at lists.llvm.org
Tue Aug 24 02:40:37 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 47f52f989b06192d3eef9891250e1db7533c8410
      https://github.com/llvm/llvm-project/commit/47f52f989b06192d3eef9891250e1db7533c8410
  Author: Ricky Taylor <rickytaylor26 at gmail.com>
  Date:   2021-08-24 (Tue, 24 Aug 2021)

  Changed paths:
    M llvm/lib/Target/M68k/AsmParser/M68kAsmParser.cpp
    M llvm/lib/Target/M68k/M68kInstrInfo.td
    M llvm/lib/Target/M68k/MCTargetDesc/M68kInstPrinter.cpp
    M llvm/test/CodeGen/M68k/CollapseMOVEM.mir
    M llvm/test/MC/M68k/instructions.s

  Log Message:
  -----------
  [M68k][AsmParser] Support parsing register masks & fix printing them

Fixes PR51580.

Register masks will now be printed as 'movem.l (%sp), %a0-%a5/%d5'
for example and can now be parsed in the same format.

Previously the printed syntax was 'movem.l (%sp), %a0-%a5,%d', which
didn't match prior art and was too ambiguous to easily parse.

Differential Revision: https://reviews.llvm.org/D108597




More information about the All-commits mailing list