[PATCH] D21189: Create subranges for new intervals resulting from live interval splitting

Krzysztof Parzyszek via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 21 13:18:37 PDT 2016


kparzysz updated this revision to Diff 64947.
kparzysz added a comment.

Recompute the main range for all new registers in the LiveRangeEdit object (in SplitKit.cpp).  This accounts for unusual cases when a newly created register only has dead defs of its subregisters.  The previous code would skip it, causing it to have an empty main range.


Repository:
  rL LLVM

https://reviews.llvm.org/D21189

Files:
  include/llvm/CodeGen/LiveInterval.h
  include/llvm/CodeGen/LiveIntervalAnalysis.h
  lib/CodeGen/LiveInterval.cpp
  lib/CodeGen/LiveIntervalAnalysis.cpp
  lib/CodeGen/LiveRangeCalc.cpp
  lib/CodeGen/LiveRangeCalc.h
  lib/CodeGen/LiveRangeEdit.cpp
  lib/CodeGen/MachineVerifier.cpp
  lib/CodeGen/RegAllocBase.cpp
  lib/CodeGen/RegisterCoalescer.cpp
  lib/CodeGen/RenameIndependentSubregs.cpp
  lib/CodeGen/SplitKit.cpp
  lib/CodeGen/SplitKit.h
  lib/CodeGen/VirtRegMap.cpp
  lib/Target/Hexagon/HexagonExpandCondsets.cpp
  test/CodeGen/Hexagon/regalloc-bad-undef.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21189.64947.patch
Type: text/x-patch
Size: 84259 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160721/3651162c/attachment.bin>


More information about the llvm-commits mailing list