[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 15:10:43 PDT 2016


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

Avoid using the same DefOnEntry and UndefOnEntry bit vectors for different live ranges.  SplitKit uses the same LiveRangeCalc object for multiple registers, so make sure that the bit vectors are kept separate.

All my correctness tests passed without this change, but I am not convinced that there is a logical reason that would justify not making it.


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.64972.patch
Type: text/x-patch
Size: 85396 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160721/9a7f9756/attachment-0001.bin>


More information about the llvm-commits mailing list