[PATCH] D77969: [LiveIntervals] Replace handleMoveIntoBundle

Carl Ritson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 12 03:11:11 PDT 2020


critson created this revision.
critson added reviewers: arsenm, MaskRay, kariddi, tpr.
Herald added subscribers: llvm-commits, arphaman, hiraditya, wdng, MatzeB.
Herald added a project: LLVM.

The current handleMoveIntoBundle implementation is unusable,
it attempts to access the slot indexes of bundled instructions.
It also leaves bundled instructions with slot indexes assigned.

Replace handleMoveIntoBundle this with a more explicit
handleMoveIntoNewBundle function which recalculates the live
intervals for all instructions moved into a newly formed bundle,
and removes slot indexes from these instructions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D77969

Files:
  llvm/include/llvm/CodeGen/LiveIntervals.h
  llvm/include/llvm/CodeGen/SlotIndexes.h
  llvm/lib/CodeGen/LiveIntervals.cpp
  llvm/lib/CodeGen/SlotIndexes.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77969.256844.patch
Type: text/x-patch
Size: 6136 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200412/d89b4753/attachment.bin>


More information about the llvm-commits mailing list