[all-commits] [llvm/llvm-project] 7b36b0: [AMDGPU]: Add implicit-def to the BB prolog

Christudasan Devadasan via All-commits all-commits at lists.llvm.org
Fri Oct 18 03:01:40 PDT 2024


  Branch: refs/heads/users/cdevadas/add-implicit-def-to-bb-prolog
  Home:   https://github.com/llvm/llvm-project
  Commit: 7b36b018de1a9381114ee570c022589175fa698a
      https://github.com/llvm/llvm-project/commit/7b36b018de1a9381114ee570c022589175fa698a
  Author: Christudasan Devadasan <Christudasan.Devadasan at amd.com>
  Date:   2024-10-18 (Fri, 18 Oct 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/divergence-divergent-i1-used-outside-loop.mir
    M llvm/test/CodeGen/AMDGPU/GlobalISel/image-waterfall-loop-O0.ll
    M llvm/test/CodeGen/AMDGPU/collapse-endcf.ll
    M llvm/test/CodeGen/AMDGPU/indirect-addressing-si.ll
    M llvm/test/CodeGen/AMDGPU/infloop-subrange-spill-inspect-subrange.mir
    M llvm/test/CodeGen/AMDGPU/infloop-subrange-spill.mir
    M llvm/test/CodeGen/AMDGPU/kernel-vgpr-spill-mubuf-with-voffset.ll
    M llvm/test/CodeGen/AMDGPU/merge-m0.mir

  Log Message:
  -----------
  [AMDGPU]: Add implicit-def to the BB prolog

IMPLICIT_DEF inserted for a wwm-register at the
very first block or the predecessor block where
it is used for sgpr spilling can appear at a block
begin that requires spill-insertion during per-lane
VGPR regalloc phase. The presence of the IMPLICIT_DEF
currently breaks the BB prolog.

Fixes: SWDEV-490717



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