[all-commits] [llvm/llvm-project] 4c0d15: Update `llvm-readobj` command invocation in extrac...

Min-Yih Hsu via All-commits all-commits at lists.llvm.org
Sat Aug 7 17:19:45 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4c0d15f86f33dc61ec1dc618fb164c127409edfc
      https://github.com/llvm/llvm-project/commit/4c0d15f86f33dc61ec1dc618fb164c127409edfc
  Author: Min-Yih Hsu <minyihh at uci.edu>
  Date:   2021-08-07 (Sat, 07 Aug 2021)

  Changed paths:
    M llvm/utils/extract-section.py

  Log Message:
  -----------
  Update `llvm-readobj` command invocation in extract-section.py

Change `-elf-output-style` to `--elf-output-style` to reflect the recent
changes on short/long CLI options in LLVM binary utils.


  Commit: 657bb7262d4a53e903e702d46fdcab57b7085128
      https://github.com/llvm/llvm-project/commit/657bb7262d4a53e903e702d46fdcab57b7085128
  Author: Min-Yih Hsu <minyihh at uci.edu>
  Date:   2021-08-07 (Sat, 07 Aug 2021)

  Changed paths:
    M llvm/lib/Target/M68k/AsmParser/M68kAsmParser.cpp
    M llvm/lib/Target/M68k/M68kFrameLowering.cpp
    M llvm/lib/Target/M68k/M68kInstrArithmetic.td
    M llvm/lib/Target/M68k/M68kInstrCompiler.td
    M llvm/lib/Target/M68k/M68kInstrFormats.td
    M llvm/lib/Target/M68k/M68kInstrInfo.h
    M llvm/lib/Target/M68k/M68kInstrInfo.td
    M llvm/test/CodeGen/M68k/Alloc/dyn_alloca_aligned.ll
    M llvm/test/CodeGen/M68k/Arith/add.ll
    M llvm/test/CodeGen/M68k/Arith/divide-by-constant.ll
    M llvm/test/CodeGen/M68k/Arith/imul.ll
    M llvm/test/CodeGen/M68k/Arith/mul64.ll
    M llvm/test/CodeGen/M68k/Arith/sdiv-exact.ll
    M llvm/test/CodeGen/M68k/Arith/smul-with-overflow.ll
    M llvm/test/CodeGen/M68k/Arith/sub-with-overflow.ll
    M llvm/test/CodeGen/M68k/Arith/umul-with-overflow.ll
    M llvm/test/CodeGen/M68k/CConv/c-call.ll
    M llvm/test/CodeGen/M68k/CConv/fastcc-call.ll
    M llvm/test/CodeGen/M68k/CodeModel/medium-pic.ll
    M llvm/test/CodeGen/M68k/CodeModel/medium-pie-global-access.ll
    M llvm/test/CodeGen/M68k/CodeModel/medium-pie.ll
    M llvm/test/CodeGen/M68k/CodeModel/medium-static.ll
    M llvm/test/CodeGen/M68k/CodeModel/small-pic.ll
    M llvm/test/CodeGen/M68k/CodeModel/small-pie-global-access.ll
    M llvm/test/CodeGen/M68k/CodeModel/small-pie.ll
    M llvm/test/CodeGen/M68k/CodeModel/small-static.ll
    M llvm/test/CodeGen/M68k/Control/cmp.ll
    M llvm/test/CodeGen/M68k/Control/setcc.ll
    R llvm/test/CodeGen/M68k/Encoding/Arith/Classes/MxBiArOp_RFRI_xEA.mir
    R llvm/test/CodeGen/M68k/Encoding/Arith/Classes/MxBiArOp_RFRM.mir
    R llvm/test/CodeGen/M68k/Encoding/Arith/Classes/MxBiArOp_RFRR_xEA.mir
    R llvm/test/CodeGen/M68k/Encoding/Arith/Classes/MxCMP_BI.mir
    R llvm/test/CodeGen/M68k/Encoding/Arith/Classes/MxCMP_MI.mir
    R llvm/test/CodeGen/M68k/Encoding/Arith/Classes/MxCMP_RM.mir
    M llvm/test/CodeGen/M68k/Encoding/Control/branch-pc-rel.mir
    M llvm/test/CodeGen/M68k/Encoding/Relaxations/branch.mir
    M llvm/test/CodeGen/M68k/inline-asm.ll
    M llvm/test/CodeGen/M68k/varargs.ll
    A llvm/test/MC/M68k/Arith/Classes/MxBiArOp_RFRI_xEA.s
    A llvm/test/MC/M68k/Arith/Classes/MxBiArOp_RFRM.s
    A llvm/test/MC/M68k/Arith/Classes/MxBiArOp_RFRR_xEA.s
    A llvm/test/MC/M68k/Arith/Classes/MxCMP_BI.s
    A llvm/test/MC/M68k/Arith/Classes/MxCMP_MI.s
    A llvm/test/MC/M68k/Arith/Classes/MxCMP_RM.s
    M llvm/test/MC/M68k/instructions.s

  Log Message:
  -----------
  [M68k] Separate ADDA from ADD and migrate rest of the arithmetic MC tests

Previously ADD & ADDA (as well as SUB & SUBA) instructions are mixed
together, which not only violated Motorola assembly's syntax but also
made asm parsing more difficult. This patch separates these two kinds of
instructions migrate rest of the tests from
test/CodeGen/M68k/Encoding/Arithmetic to test/MC/M68k/Arithmetic.

Note that we observed minor regressions on codegen quality: Sometimes
isel uses ADD instead of ADDA even the latter can lead to shorter
sequence of code. This issue implies that some isel patterns might need
to be updated.


Compare: https://github.com/llvm/llvm-project/compare/5894134c6ed8...657bb7262d4a


More information about the All-commits mailing list