[all-commits] [llvm/llvm-project] 51884c: [M68k] Introduce DReg bead

Ricky Taylor via All-commits all-commits at lists.llvm.org
Fri Mar 19 04:45:31 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 51884c6beff75b5b0d7dad50b67bf535f59bd7ae
      https://github.com/llvm/llvm-project/commit/51884c6beff75b5b0d7dad50b67bf535f59bd7ae
  Author: Ricky Taylor <rickytaylor26 at gmail.com>
  Date:   2021-03-19 (Fri, 19 Mar 2021)

  Changed paths:
    M llvm/lib/Target/M68k/M68kInstrArithmetic.td
    M llvm/lib/Target/M68k/M68kInstrBits.td
    M llvm/lib/Target/M68k/M68kInstrFormats.td
    M llvm/lib/Target/M68k/M68kInstrShiftRotate.td
    M llvm/lib/Target/M68k/MCTargetDesc/M68kBaseInfo.h
    M llvm/lib/Target/M68k/MCTargetDesc/M68kMCCodeEmitter.cpp

  Log Message:
  -----------
  [M68k] Introduce DReg bead

This is required in order to determine during disassembly whether a
Reg bead without associated DA bead is referring to a data register.

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


  Commit: cd442157cff4aad209ae532cbf031abbe10bc1df
      https://github.com/llvm/llvm-project/commit/cd442157cff4aad209ae532cbf031abbe10bc1df
  Author: Ricky Taylor <rickytaylor26 at gmail.com>
  Date:   2021-03-19 (Fri, 19 Mar 2021)

  Changed paths:
    M llvm/lib/Target/M68k/M68kRegisterInfo.td
    M llvm/lib/Target/M68k/MCTargetDesc/M68kBaseInfo.h

  Log Message:
  -----------
  [M68k] Convert register Aliases to AltNames

This makes it simpler to determine when two registers are actually the
same vs just partially aliasing.

The only real caveat is that it becomes impossible to know which name
was used for the register previously. (i.e. parsing assembly and then
disassembling it can result in the register name changing.)

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


Compare: https://github.com/llvm/llvm-project/compare/5a5a531214c7...cd442157cff4


More information about the All-commits mailing list