[all-commits] [llvm/llvm-project] 8e64d8: [MachineSink] Check block prologue interference

Carl Ritson via All-commits all-commits at lists.llvm.org
Mon Mar 21 19:16:57 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e64d84995ddb317f8c79825069a3d2b0005551a
      https://github.com/llvm/llvm-project/commit/8e64d84995ddb317f8c79825069a3d2b0005551a
  Author: Carl Ritson <carl.ritson at amd.com>
  Date:   2022-03-22 (Tue, 22 Mar 2022)

  Changed paths:
    M llvm/lib/CodeGen/MachineSink.cpp
    M llvm/test/CodeGen/AMDGPU/sink-after-control-flow-postra.mir

  Log Message:
  -----------
  [MachineSink] Check block prologue interference

Sinking must check for interference between the block prologue
and the instruction being sunk.
Specifically check for clobbering of uses by the prologue, and
overwrites to prologue defined registers by the sunk instruction.

Reviewed By: rampitec, ruiling

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




More information about the All-commits mailing list