OSDN Git Service

RegAllocGreedy: Follow-up to r296722
authorMatthias Braun <matze@braunis.de>
Fri, 3 Mar 2017 23:27:20 +0000 (23:27 +0000)
committerMatthias Braun <matze@braunis.de>
Fri, 3 Mar 2017 23:27:20 +0000 (23:27 +0000)
commit7ed12a092504309f00bb250cbe9775828125e779
treee00263dfd492e8f825bd8f9f51b62be31677a67d
parent744959b4316f55eb763014a3579365a42797e7be
RegAllocGreedy: Follow-up to r296722

We can now end up in situations where we initiate LiveIntervalUnion
queries with different SubRanges against the same register unit, so the
assert() no longer holds in all cases. Just recalculate now when we know
the cache is out of date.

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