[all-commits] [llvm/llvm-project] 3bff61: [PHIElimination] Handle subranges in LiveInterval ...

Carl Ritson via All-commits all-commits at lists.llvm.org
Mon Sep 11 01:15:27 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3bff611068ae70e3273a46bbc72bc66b66f98c1c
      https://github.com/llvm/llvm-project/commit/3bff611068ae70e3273a46bbc72bc66b66f98c1c
  Author: Carl Ritson <carl.ritson at amd.com>
  Date:   2023-09-11 (Mon, 11 Sep 2023)

  Changed paths:
    M llvm/include/llvm/CodeGen/LiveIntervals.h
    M llvm/lib/CodeGen/LiveIntervals.cpp
    M llvm/lib/CodeGen/MachineBasicBlock.cpp
    M llvm/lib/CodeGen/PHIElimination.cpp
    M llvm/test/CodeGen/AMDGPU/split-mbb-lis-subrange.mir

  Log Message:
  -----------
  [PHIElimination] Handle subranges in LiveInterval updates

Add handling for subrange updates in LiveInterval preservation.
This requires extending MachineBasicBlock::SplitCriticalEdge
to also update subrange intervals.

Reviewed By: arsenm

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




More information about the All-commits mailing list