[all-commits] [llvm/llvm-project] 112fba: [MIRPrinter] Don't print line break when there is ...

Quentin Dian via All-commits all-commits at lists.llvm.org
Thu Feb 1 06:11:05 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 112fba974ce42a6e552f7391d20a858a128283a1
      https://github.com/llvm/llvm-project/commit/112fba974ce42a6e552f7391d20a858a128283a1
  Author: Quentin Dian <dianqk at dianqk.net>
  Date:   2024-02-01 (Thu, 01 Feb 2024)

  Changed paths:
    M llvm/lib/CodeGen/MIRPrinter.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator-switch.ll
    M llvm/test/CodeGen/AArch64/GlobalISel/arm64-pcsections.ll
    M llvm/test/CodeGen/AArch64/GlobalISel/legalize-phi.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/select-redundant-zext.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/select-unreachable-blocks.mir
    M llvm/test/CodeGen/AArch64/callbr-asm-outputs-indirect-isel.ll
    M llvm/test/CodeGen/AArch64/implicit-def-with-impdef-greedy-assert.mir
    M llvm/test/CodeGen/AArch64/regalloc-last-chance-recolor-with-split.mir
    M llvm/test/CodeGen/AArch64/tail-dup-redundant-phi.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/inline-asm-mismatched-size.ll
    M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-brcond.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-constant.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-scalar-float-sop2.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/postlegalizer-combiner-unmerge-undef.mir
    M llvm/test/CodeGen/AMDGPU/collapse-endcf.mir
    M llvm/test/CodeGen/AMDGPU/dagcombine-fma-crash.ll
    M llvm/test/CodeGen/AMDGPU/insert-singleuse-vdst.mir
    M llvm/test/CodeGen/AMDGPU/lower-control-flow-live-intervals.mir
    M llvm/test/CodeGen/AMDGPU/machine-sink-ignorable-exec-use.mir
    M llvm/test/CodeGen/AMDGPU/opt-exec-masking-pre-ra-update-liveness.mir
    M llvm/test/CodeGen/AMDGPU/optimize-compare.mir
    M llvm/test/CodeGen/AMDGPU/optimize-exec-mask-pre-ra-def-after-use.mir
    M llvm/test/CodeGen/AMDGPU/optimize-exec-masking-pre-ra.mir
    M llvm/test/CodeGen/AMDGPU/ra-inserted-scalar-instructions.mir
    M llvm/test/CodeGen/AMDGPU/ran-out-of-sgprs-allocation-failure.mir
    M llvm/test/CodeGen/AMDGPU/si-lower-control-flow.mir
    M llvm/test/CodeGen/AMDGPU/sink-after-control-flow-postra.mir
    M llvm/test/CodeGen/AMDGPU/spill-agpr.mir
    M llvm/test/CodeGen/AMDGPU/tail-dup-bundle.mir
    M llvm/test/CodeGen/AMDGPU/wqm-terminators.mir
    M llvm/test/CodeGen/ARM/cmpxchg.mir
    M llvm/test/CodeGen/ARM/machine-outliner-noreturn.mir
    M llvm/test/CodeGen/MIR/X86/unreachable-block-print.mir
    M llvm/test/CodeGen/Mips/GlobalISel/instruction-select/phi.mir
    M llvm/test/CodeGen/Mips/GlobalISel/legalizer/jump_table_and_brjt.mir
    M llvm/test/CodeGen/PowerPC/branch_coalescing.mir
    M llvm/test/CodeGen/PowerPC/machine-cse-rm-pre.mir
    M llvm/test/CodeGen/PowerPC/nofpexcept.ll
    M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-phi-rv32.mir
    M llvm/test/CodeGen/RISCV/GlobalISel/legalizer/legalize-phi-rv64.mir
    M llvm/test/CodeGen/RISCV/float-select-verify.ll
    M llvm/test/CodeGen/Thumb2/cmpxchg.mir
    M llvm/test/CodeGen/X86/GlobalISel/legalize-phi.mir
    M llvm/test/CodeGen/X86/GlobalISel/select-phi.mir
    M llvm/test/CodeGen/X86/branchfolding-landingpad-cfg.mir
    M llvm/test/CodeGen/X86/coalescer-remat-with-undef-implicit-def-operand.mir
    M llvm/test/CodeGen/X86/cse-two-preds.mir
    M llvm/test/CodeGen/X86/statepoint-invoke-ra-remove-back-copies.mir
    M llvm/test/CodeGen/X86/tail-dup-asm-goto.ll

  Log Message:
  -----------
  [MIRPrinter] Don't print line break when there is no instructions (NFC) (#80147)

Per #80143, we can remove the extra line break when there is no
instruction.




More information about the All-commits mailing list