[all-commits] [llvm/llvm-project] 0f35f8: [AMDGPU] Skip non-wwm reg implicit-def from bb prolog

Christudasan Devadasan via All-commits all-commits at lists.llvm.org
Tue Nov 12 00:51:42 PST 2024


  Branch: refs/heads/users/cdevadas/skip-non-wwm-reg-implicit-def-from-bbprolog
  Home:   https://github.com/llvm/llvm-project
  Commit: 0f35f8fdc2511ab19d0b1c81f7d4c9feddbf7345
      https://github.com/llvm/llvm-project/commit/0f35f8fdc2511ab19d0b1c81f7d4c9feddbf7345
  Author: Christudasan Devadasan <Christudasan.Devadasan at amd.com>
  Date:   2024-11-12 (Tue, 12 Nov 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h
    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] Skip non-wwm reg implicit-def from bb prolog

Currently all implicit-def instructions are part of
bb prolog. We should only include the wwm-register's
implicit definitions into the BB prolog. The other
vector class registers' implicit defs when exist at
the bb top might cause interference when pushed the
LR_split copy insertion downwards. The SplitKit is
very strict on altering the insertion points and will
assert such instances.



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