[all-commits] [llvm/llvm-project] 589c64: [llc] (almost) remove `--print-machineinstrs`

Yuanfang Chen via All-commits all-commits at lists.llvm.org
Mon Jul 20 10:43:57 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 589c646a7e5fb03223340476f7ffb67fd9628726
      https://github.com/llvm/llvm-project/commit/589c646a7e5fb03223340476f7ffb67fd9628726
  Author: Yuanfang Chen <yuanfang.chen at sony.com>
  Date:   2020-07-20 (Mon, 20 Jul 2020)

  Changed paths:
    M llvm/docs/CommandGuide/llc.rst
    M llvm/docs/CommandGuide/lli.rst
    M llvm/include/llvm/CodeGen/TargetPassConfig.h
    M llvm/include/llvm/Target/TargetMachine.h
    M llvm/include/llvm/Target/TargetOptions.h
    M llvm/lib/CodeGen/MachineOperand.cpp
    M llvm/lib/CodeGen/TargetPassConfig.cpp
    M llvm/lib/Target/Mips/MipsTargetMachine.cpp
    M llvm/test/CodeGen/AArch64/chkstk.ll
    M llvm/test/CodeGen/AArch64/max-jump-table.ll
    M llvm/test/CodeGen/AArch64/min-jump-table.ll
    M llvm/test/CodeGen/ARM/ifcvt-branch-weight-bug.ll
    M llvm/test/CodeGen/ARM/ifcvt-branch-weight.ll
    M llvm/test/CodeGen/ARM/ifcvt-iter-indbr.ll
    M llvm/test/CodeGen/ARM/tail-merge-branch-weight.ll
    M llvm/test/CodeGen/ARM/taildup-branch-weight.ll
    R llvm/test/CodeGen/Generic/print-machineinstrs.ll
    M llvm/test/CodeGen/Hexagon/ifcvt-edge-weight.ll
    R llvm/test/CodeGen/X86/llc-print-machineinstrs.mir
    M llvm/test/DebugInfo/WebAssembly/dbg-value-live-interval.ll
    M llvm/test/DebugInfo/WebAssembly/dbg-value-move-2.ll
    M llvm/test/DebugInfo/WebAssembly/dbg-value-move.ll

  Log Message:
  -----------
  [llc] (almost) remove `--print-machineinstrs`

Its effect could be achieved by
`-stop-after`,`-print-after`,`-print-after-all`. But a few tests need to
print MIR after ISel which could not be done with
`-print-after`/`-stop-after` since isel pass does not have commandline name.
That's the reason `--print-machineinstrs` is downgraded to
`--print-after-isel` in this patch. `--print-after-isel` could be
removed after we switch to new pass manager since isel pass would have a
commandline text name to use `print-after` or equivalent switches.

The motivation of this patch is to reduce tests dependency on
would-be-deprecated feature.

Reviewed By: arsenm, dsanders

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


  Commit: efcb8a190395ad35dcd6931b16c7b0bd1ccd37cf
      https://github.com/llvm/llvm-project/commit/efcb8a190395ad35dcd6931b16c7b0bd1ccd37cf
  Author: Yuanfang Chen <yuanfang.chen at sony.com>
  Date:   2020-07-20 (Mon, 20 Jul 2020)

  Changed paths:
    M llvm/lib/CodeGen/LLVMTargetMachine.cpp

  Log Message:
  -----------
  [NFC] remove unneeded TargetLoweringObjectFile init after 85c30f3374d9


  Commit: ca1e69a675fcfd68c0c1b97d139bc74820705171
      https://github.com/llvm/llvm-project/commit/ca1e69a675fcfd68c0c1b97d139bc74820705171
  Author: Yuanfang Chen <yuanfang.chen at sony.com>
  Date:   2020-07-20 (Mon, 20 Jul 2020)

  Changed paths:
    M llvm/lib/Target/ARC/ARCISelLowering.cpp
    M llvm/lib/Target/BPF/BPFISelLowering.cpp
    M llvm/lib/Target/MSP430/MSP430ISelLowering.cpp
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/lib/Target/XCore/XCoreISelLowering.cpp

  Log Message:
  -----------
  [NFC] remove unused includes of SelectionDAGISel.h


  Commit: 877b2593c299b619c918cdf26e61b566c1501617
      https://github.com/llvm/llvm-project/commit/877b2593c299b619c918cdf26e61b566c1501617
  Author: Yuanfang Chen <yuanfang.chen at sony.com>
  Date:   2020-07-20 (Mon, 20 Jul 2020)

  Changed paths:
    M llvm/include/llvm/ADT/STLExtras.h

  Log Message:
  -----------
  [NFC] remove unused llvm::deleter


Compare: https://github.com/llvm/llvm-project/compare/ce76d15a70d0...877b2593c299


More information about the All-commits mailing list