[all-commits] [llvm/llvm-project] 54c0f5: [VirtRegRewriter] Insert missing killed flags when...

bsaleil via All-commits all-commits at lists.llvm.org
Wed Mar 3 09:02:35 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 54c0f520c77a189c3869fbb1b9c4ee36561a58ae
      https://github.com/llvm/llvm-project/commit/54c0f520c77a189c3869fbb1b9c4ee36561a58ae
  Author: Baptiste Saleil <baptiste.saleil at ibm.com>
  Date:   2021-03-03 (Wed, 03 Mar 2021)

  Changed paths:
    M llvm/lib/CodeGen/LiveIntervals.cpp
    M llvm/test/CodeGen/AMDGPU/load-global-i16.ll
    M llvm/test/CodeGen/AMDGPU/regbank-reassign-wave64.mir
    M llvm/test/CodeGen/AMDGPU/regbank-reassign.mir
    M llvm/test/CodeGen/AMDGPU/spill-scavenge-offset.ll
    M llvm/test/CodeGen/AMDGPU/splitkit-nolivesubranges.mir
    M llvm/test/CodeGen/AMDGPU/splitkit.mir
    M llvm/test/CodeGen/AMDGPU/subreg_interference.mir
    M llvm/test/CodeGen/AMDGPU/unallocatable-bundle-regression.mir
    M llvm/test/CodeGen/AMDGPU/virtregrewrite-undef-identity-copy.mir
    A llvm/test/CodeGen/PowerPC/subreg-killed.mir

  Log Message:
  -----------
  [VirtRegRewriter] Insert missing killed flags when tracking subregister liveness

VirtRegRewriter may sometimes fail to correctly apply the kill flag where necessary,
which causes unecessary code gen on PowerPC. This patch fixes the way masks for
defined lanes are computed and the way mask for used lanes is computed.

Contact albion.fung at ibm.com instead of author for problems related to this commit.

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




More information about the All-commits mailing list