[all-commits] [llvm/llvm-project] 9f0157: [M68k] Make M68k TargetMachine use getter function

Ricky Taylor via All-commits all-commits at lists.llvm.org
Sun Mar 14 11:54:47 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9f015757de7cd28ac60597fb16408b88b6171183
      https://github.com/llvm/llvm-project/commit/9f015757de7cd28ac60597fb16408b88b6171183
  Author: Ricky Taylor <rickytaylor26 at gmail.com>
  Date:   2021-03-14 (Sun, 14 Mar 2021)

  Changed paths:
    M llvm/lib/Target/M68k/M68kAsmPrinter.cpp
    M llvm/lib/Target/M68k/M68kTargetMachine.cpp
    M llvm/lib/Target/M68k/MCTargetDesc/M68kMCTargetDesc.cpp
    M llvm/lib/Target/M68k/MCTargetDesc/M68kMCTargetDesc.h
    M llvm/lib/Target/M68k/TargetInfo/M68kTargetInfo.cpp
    A llvm/lib/Target/M68k/TargetInfo/M68kTargetInfo.h

  Log Message:
  -----------
  [M68k] Make M68k TargetMachine use getter function

This makes M68k match other platforms in this regard.

This was done as part of the AsmParser/Disassembler work since the entry
functions of those modules usually reference `getTheXXXTarget()`.

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


  Commit: 84094fb4fd0bc0c1f621757efc328a6ebcf8b847
      https://github.com/llvm/llvm-project/commit/84094fb4fd0bc0c1f621757efc328a6ebcf8b847
  Author: Ricky Taylor <rickytaylor26 at gmail.com>
  Date:   2021-03-14 (Sun, 14 Mar 2021)

  Changed paths:
    M llvm/lib/Target/M68k/MCTargetDesc/M68kMCCodeEmitter.cpp

  Log Message:
  -----------
  [M68k] Tidy up some bit shifting during code emission

This fixes some issues with bit masking when emitting instructions
(including one TODO).

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


Compare: https://github.com/llvm/llvm-project/compare/6475ddb1d898...84094fb4fd0b


More information about the All-commits mailing list