[PATCH] D158144: [PHIElimination] Handle subranges in LiveInterval updates

Carl Ritson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 16 22:33:55 PDT 2023


critson created this revision.
critson added reviewers: foad, arsenm, MatzeB, fhahn.
Herald added subscribers: StephenFan, kerbowa, hiraditya, jvesely.
Herald added a project: All.
critson requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D158144

Files:
  llvm/lib/CodeGen/LiveIntervals.cpp
  llvm/lib/CodeGen/MachineBasicBlock.cpp
  llvm/lib/CodeGen/PHIElimination.cpp
  llvm/test/CodeGen/AMDGPU/split-mbb-lis-subrange.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158144.550999.patch
Type: text/x-patch
Size: 9145 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230817/35d3fa3b/attachment.bin>


More information about the llvm-commits mailing list