[PATCH] D24190: Do not consider subreg defs as reads when computing subrange liveness

Krzysztof Parzyszek via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 2 07:07:01 PDT 2016


kparzysz created this revision.
kparzysz added reviewers: qcolombet, MatzeB.
kparzysz added subscribers: llvm-commits, michel.daenzer, tstellarAMD.
kparzysz set the repository for this revision to rL LLVM.
Herald added a reviewer: tstellarAMD.
Herald added subscribers: nhaehnle, MatzeB.

The problems that that D23879 and D23942 were trying to fix were actually caused by incorrect subrange calculation.  Fixing this issue makes all the associated testcases compile successfully.

Repository:
  rL LLVM

https://reviews.llvm.org/D24190

Files:
  lib/CodeGen/LiveIntervalAnalysis.cpp
  lib/CodeGen/LiveRangeCalc.cpp
  lib/CodeGen/LiveRangeCalc.h
  lib/CodeGen/SplitKit.cpp
  test/CodeGen/AMDGPU/coalescer-subreg-join.mir
  test/CodeGen/AMDGPU/scheduler-liveness-1.ll
  test/CodeGen/AMDGPU/scheduler-liveness-2.ll
  test/CodeGen/AMDGPU/unigine-liveness-crash.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24190.70156.patch
Type: text/x-patch
Size: 19980 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160902/aadfd109/attachment.bin>


More information about the llvm-commits mailing list