[all-commits] [llvm/llvm-project] a27fd1: Precommit test for D150447.

Jonas Paulsson via All-commits all-commits at lists.llvm.org
Tue May 16 01:02:28 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a27fd12f92f81dbee039e1cccbd0b686b8b42da7
      https://github.com/llvm/llvm-project/commit/a27fd12f92f81dbee039e1cccbd0b686b8b42da7
  Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
  Date:   2023-05-16 (Tue, 16 May 2023)

  Changed paths:
    M llvm/test/CodeGen/AMDGPU/loop_exit_with_xor.ll

  Log Message:
  -----------
  Precommit test for D150447.


  Commit: 64599ac97eb1346dcc0e45b722c4a84c8c72e899
      https://github.com/llvm/llvm-project/commit/64599ac97eb1346dcc0e45b722c4a84c8c72e899
  Author: Jonas Paulsson <paulsson at linux.vnet.ibm.com>
  Date:   2023-05-16 (Tue, 16 May 2023)

  Changed paths:
    M llvm/lib/CodeGen/MachineSink.cpp
    M llvm/test/CodeGen/AMDGPU/collapse-endcf.ll
    M llvm/test/CodeGen/AMDGPU/loop_exit_with_xor.ll
    M llvm/test/CodeGen/AMDGPU/should-not-hoist-set-inactive.ll
    A llvm/test/CodeGen/SystemZ/machinesink-dead-cc.mir
    M llvm/test/CodeGen/X86/2007-01-13-StackPtrIndex.ll
    M llvm/test/CodeGen/X86/dag-update-nodetomatch.ll
    M llvm/test/CodeGen/X86/statepoint-cmp-sunk-past-statepoint.ll

  Log Message:
  -----------
  [MachineSink] Don't reject sinking because of dead def in isProfitableToSinkTo().

An instruction should be sunk (if otherwise legal and profitable) regardless
of if it has a dead def of a physreg or not. Physreg defs are checked in other
places and sinking is only done with dead defs of regs that are not live into
the target MBB.

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

Reviewed By: sebastian-ne, arsenm


Compare: https://github.com/llvm/llvm-project/compare/c4a872badb53...64599ac97eb1


More information about the All-commits mailing list