LiveInterval: Distribute subregister liveranges to new intervals in ConnectedVNInfoEq...
authorMatthias Braun <matze@braunis.de>
Tue, 22 Sep 2015 22:37:42 +0000 (22:37 +0000)
committerMatthias Braun <matze@braunis.de>
Tue, 22 Sep 2015 22:37:42 +0000 (22:37 +0000)
commitc047a220175f4d8c4c8539db1b386eca8fcc8ede
treee413d1f181c37d41a9e825ca6c4f0f7409ade55a
parent3286c1f6932e9e34b0f0280f52b3e3b2d5fd831b
LiveInterval: Distribute subregister liveranges to new intervals in ConnectedVNInfoEqClasses::Distribute()

This improves ConnectedVNInfoEqClasses::Distribute() to distribute the
segments and value numbers in the subranges instead of conservatively
clearing all subregister info.

No separate test here, just clearing the subrange instead of properly
distributing them would however break my upcoming fix regarding dead super
register definitions.

Differential Revision: http://reviews.llvm.org/D13075

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@248334 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/LiveInterval.cpp