[PATCH] D13035: LiveIntervalAnalysis: Avoid multiple connected liveness components

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 21 16:45:25 PDT 2015


MatzeB created this revision.
MatzeB added a reviewer: qcolombet.
MatzeB added subscribers: llvm-commits, arsenm.
MatzeB set the repository for this revision to rL LLVM.
Herald added a subscriber: MatzeB.

We may have subregister defs which are unused but not discovered and
cleaned up prior to liveness analysis. This creates multiple connected
components in the resultsing live range which are forbidden in the
MachineVerifier because they would unnecesarily constrain the register
allocation. Rewrite those dead definitions to define a newly created
virtual register.

Repository:
  rL LLVM

http://reviews.llvm.org/D13035

Files:
  include/llvm/CodeGen/LiveIntervalAnalysis.h
  lib/CodeGen/LiveIntervalAnalysis.cpp
  test/CodeGen/AMDGPU/partially-dead-super-register-immediate.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13035.35320.patch
Type: text/x-patch
Size: 4707 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150921/8ef237cc/attachment.bin>


More information about the llvm-commits mailing list