[all-commits] [llvm/llvm-project] 2e2b21: [AMDGPU] Add liverange split instructions into BB ...

Christudasan Devadasan via All-commits all-commits at lists.llvm.org
Mon Nov 25 03:48:43 PST 2024


  Branch: refs/heads/users/cdevadas/include-lr-split-insn-to-bb-prolog
  Home:   https://github.com/llvm/llvm-project
  Commit: 2e2b216d58e525e7dd65245ae2ee8b86750564c8
      https://github.com/llvm/llvm-project/commit/2e2b216d58e525e7dd65245ae2ee8b86750564c8
  Author: Christudasan Devadasan <Christudasan.Devadasan at amd.com>
  Date:   2024-11-25 (Mon, 25 Nov 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.h
    M llvm/test/CodeGen/AMDGPU/identical-subrange-spill-infloop.ll
    M llvm/test/CodeGen/AMDGPU/ran-out-of-sgprs-allocation-failure.mir

  Log Message:
  -----------
  [AMDGPU] Add liverange split instructions into BB Prolog

The COPY inserted for liverange split during sgpr-regalloc
pipeline currently breaks the BB prolog during the subsequent
vgpr-regalloc phase while spilling and/or splitting the vector
liveranges. This patch fixes it by correctly including the
the LR split instructions during sgpr-regalloc and wwm-regalloc
pipelines into the BB prolog.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list