Only update regunit live ranges that have been precomputed.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 20 Jun 2012 18:00:57 +0000 (18:00 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 20 Jun 2012 18:00:57 +0000 (18:00 +0000)
commit7824152557cfe3a366963f504b2b956f853ebc3a
tree0fadd2f553285f1dececdda3a7c47bc3ddfd8aff
parentb47f3ea22461b2d877d4a3246d54bdeab4fcfaa3
Only update regunit live ranges that have been precomputed.

Regunit live ranges are computed on demand, so when mi-sched calls
handleMove, some regunits may not have live ranges yet.

That makes updating them easier: Just skip the non-existing ranges. They
will be computed correctly from the rescheduled machine code when they
are needed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158831 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/LiveIntervalAnalysis.h
lib/CodeGen/LiveIntervalAnalysis.cpp
test/CodeGen/X86/misched-new.ll